Applies to Product - Dynamics 365 Intelligent Order Management
What’s happening?
When an orchestration is initiated in Dynamics 365 Intelligent Order Management (IOM), if the user clicks the "Orchestrate" button again for any reason, IOM starts two orchestrations simultaneously. This behavior is not expected and can lead to conflicting operations and errors, such as orders being processed multiple times.
Reason:
The Orchestrate button is always enabled, and there is currently no validation or control to prevent a second orchestration from being initiated while a previous one is still ongoing. This design allows for the possibility of multiple orchestration flows running at the same time.
Resolution:
- To mitigate this of duplicate orchestrations, consider implementing customizations to block duplicate events. One suggested approach is to utilize the IOM state transition features to prevent the initiation of a new orchestration if one is already in progress.
- For further insights, refer to the relevant documentation on state framework architecture in Microsoft Dynamics 365 Intelligent Order Management.
- If the issue persists or for more detailed troubleshooting, gather environment details and validate orchestration duplication through the Orchestration Steps Result tab. A network trace (Har file) may also be collected to assist in diagnosing the issue.
- As of now, the release notes detailing the latest changes in IOM are not available, but they are expected to be published soon.
