Where action type business event is used

 

🎯 Short Answer

πŸ‘‰ Business Events defined in Action Type are used in Orchestration Rules (Policies) as triggers for the NEXT step.


🧠 Where exactly they are used

πŸ“ Location in UI

You will use them in:

πŸ‘‰ Orchestration → Policies (Rules)


πŸ”— How they are used

Step-by-step flow:


1️⃣ Initial Business Event (starts flow)

Example:

Order Created

2️⃣ Rule triggers Action Type

IF Order Created → Execute Fulfillment Action

3️⃣ Action runs (Provider Action + Flow)


4️⃣ Action Type emits Business Event

Defined in Action Type:

  • Business Event Success → Fulfillment Completed

  • Business Event Failure → Fulfillment Failed


5️⃣ These events are USED in next rules

IF Fulfillment Completed → Trigger Shipping

IF Fulfillment Failed → Retry or Alert

πŸ‘‰ THIS is where they are actually used.


πŸ” Full Chain (Important)

Order Created (Business Event)

Rule 1

Action Type (Fulfillment)

Provider Action executes

Fulfillment Completed (Business Event from Action Type)

Rule 2 uses this event

Next Action (Shipping)

πŸ“¦ Real Example (End-to-End)

Action Type config:

  • Success Event → Inventory Reserved

  • Failure Event → Inventory Reservation Failed


Orchestration Rules:

Rule 1:
IF Order Created → Reserve Inventory

Rule 2:
IF Inventory Reserved → Send to Fulfillment

Rule 3:
IF Inventory Reservation Failed → Retry

⚠️ Important Insight

πŸ‘‰ If you don’t use these events in rules, then:

  • Flow executes

  • BUT orchestration stops there


🧠 Simple Analogy

StepMeaning
Action Type EventSignal raised πŸ“‘
RuleListener πŸ‘‚
Next ActionReaction ⚡

✅ Final takeaway

πŸ‘‰ Action Type Business Events are not for display — they are used as triggers in subsequent orchestration rules.

They enable:

  • chaining steps

  • branching logic

  • error handling

Comments

Popular posts from this blog

πŸ” Dataverse + Azure Integration: Choosing Between Synapse Link and Microsoft Fabric

⚡ Example: Rate Limiting in Azure API Management

In-Process vs Isolated Process Azure Functions: What’s the Difference?