In this webinar, our experts showcase a variety of demo use cases of how different components of the...
As you may know, all logic app workflows start with triggers followed by actions. A trigger in Microsoft Dynamics 365 that defines the calls that can initiate a logic app workflow may have more than one trigger in a workflow. With that in mind, here is an explanation of the limitations you may face, as well as an alternative approach.
Definition: Maximum number of triggers in a workflow is 10.
"triggers": {
Trigger 1,
Trigger 2,
….
Trigger 10,
}
Example: In this example, the workflow has two triggers. They are:
Limitations: There are limitations when a workflow has more than one trigger.
1. Logic App Designer won't work. In the example below, it is selected but it displays code view:
2. Logic App Run won't show. Message displays as below. Run Details has a summary but not details (inputs and outputs of each action and flow).
A Different Approach: In Logic App Designer, there is an option called Nested Logic Apps. Using this feature, we can accomplish our goal.
1. Create a logic app with HTTP Request (Child) – this has all actions.
2. Create a logic app with Create Trigger (Parent)
3. Create logic app with Update Trigger (Parent)
Make sense? Hopefully this help! For more Dynamics 365 tips and tricks be sure to subscribe to our blog!
Happy Dynamics 365'ing!