Azure-docs: More information related to calling StartNewAsync while passing InstanceId

Created on 28 Mar 2019  Â·  3Comments  Â·  Source: MicrosoftDocs/azure-docs

Its not exactly obvious the behavior of StartNewAsync when passing InstanceId while an existing orchestration with the same id already exists.

I was assuming the behavior might be just doing nothing since an orchestration with the same id already exists but seems like its doing some sort of restart (even if an instance is already in running state)

I can contribute to documentation once someone explains that behavior to me :)

Thanks


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

azure-functionsvc cxp product-question triaged

All 3 comments

@harouny Thank you for posting your question! We will review and update as appropriate.

@cgillum can you help here?

@harouny you are right - it looks like we did not explain this in the official docs. There is a bit more detail in the API documentation here. Basically, if another orchestration with the same ID already exists, it will be silently overwritten with the new instance. It's not a behavior we like right now, but it's the way it works currently and will probably stay this way until we do a breaking 2.0 release. I'd be happy to review a docs PR if you want to open one. :)

@harouny We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JeffLoo-ong picture JeffLoo-ong  Â·  3Comments

varma31 picture varma31  Â·  3Comments

jebeld17 picture jebeld17  Â·  3Comments

Agazoth picture Agazoth  Â·  3Comments

DeepPuddles picture DeepPuddles  Â·  3Comments