Business events trigger Orchestration flow then why there are business events in action type
Excellent question π — this is exactly where most confusion happens in
Dynamics 365 Intelligent Order Management
You’re right:
Business Events trigger orchestration
So why are they also present in Action Type?
π§ The Key Idea (Most Important)
π There are TWO types of business events in IOM:
| Type | Purpose |
|---|---|
| Trigger Events | Start orchestration |
| Outcome Events | Continue orchestration |
π· 1. Business Events (Trigger level)
These are:
π External or initial events
Examples:
-
Order Created
-
Order Updated
✔ These START orchestration
π· 2. Business Events in Action Type (Outcome level)
These are:
π Internal events generated AFTER an action runs
Examples:
-
Fulfillment Completed
-
Fulfillment Failed
✔ These CONTINUE orchestration
π Full Flow (This is the missing link)
[Business Event - Trigger]
Order Created
↓
Orchestration Rule fires
↓
Action Type selected
↓
Provider Action executes
↓
[Business Event - Outcome]
Fulfillment Completed / Failed
↓
Next orchestration step
π‘ Why Action Type needs Business Events
Because IOM needs to know:
π “After this action runs, what event should I raise?”
That’s exactly what these fields define:
-
Business Event Success → next step trigger
-
Business Event Failure → error path trigger
π― Real Example
Step 1 (Trigger event)
-
Order Created
Step 2 (Action runs)
-
Send order to warehouse
Step 3 (Outcome event from Action Type)
-
Fulfillment Completed✅ -
OR
-
Fulfillment Failed❌
Step 4 (Next rule)
IF Fulfillment Completed → Trigger shipping
IF Fulfillment Failed → Retry or alert
π§ Simple Analogy
Think of it like a relay race:
-
π’ Start gun → Trigger Event
-
π Runner runs → Action
-
π Baton pass → Business Event in Action Type
-
π Next runner continues → Next orchestration step
⚠️ Important Clarification
π Action Type does NOT trigger the first step
π It defines what event to raise AFTER execution
✅ Final takeaway
-
Business Events (top level) → Start orchestration
-
Business Events in Action Type → Continue orchestration
π They are part of the same event-driven chain, just at different stages.
Comments
Post a Comment