Hello Everyone,
I created a record trigger flow that when an agent link a contact to messaging session via Messaging Related Contact it should also link the contact into the case object, this flow is working when agent do the linking when messaging session is active but when status is ended it is not working, my question is why its not working?
Also below is my flow configuration:
Start record trigger flow:
- Select Object : Messaging Session
- Configure Trigger: A record is updated
- Set Entry Condition: None
- Optimize flow for: Action and Related Records
Decision:
- Outcome Order:
- Contact Not Found:
- Condition Requirements to Execute Outcome: Condition Requirements to Execute Outcome: All Conditions Are Meet (AND)
- Resource: {!$Record.MessagingEndUser.ContactId} Is Null True
- When to Execute Outcome: If the condition requirements are met
- Contact Not Found:
- Default Outcome: Contact Found
Update Records:
- How to Find Records to Update and Set Their Values: Specify conditions to identify records, and set fields individually
- Object : Case
- Condition Requirements to Execute Outcome: Condition Requirements to Execute Outcome: All Conditions Are Meet (AND)
- Id Equals {!$Record.CaseId}
- Set Field Values for the Case Records:
- ContactId <- {!$Record.MessagingEndUser.ContactId}
2 个回答
Hi @Ariel Gencianeo, if you attempt to debug the flow adding a Messaging End User to a Messaging Session record with Status "Ended" , what flow elements are executed?