Suppose you want to auto-create Contact Role when Opportunity is updated-
Start -
Decision based on requirement plus Account Id NULL Check:
Get Contacts (SOQL):
Loop through all Contacts:
Assignment or Prepare records for Create Contact Role Creation:
Assign to Collection Variable from Single Variable (Keep adding above ... and Store in Collection)
Create Record (Contact Role) Based on above Assignment:
Error Handling - Send Fault Message to Chatter-
Variables etc. created -
Overall:
Visual: https://www.youtube.com/watch?v=pCZfIJ5x6VE
Comments
Post a Comment