Hi everyone,
I need help resolving an issue with a Business Process Management (BPM) automation that checks the "Accès marketplace" field in the Contacts module based on the "OFFRES" field value in the Accounts module.
Current Behavior:
Working Scenario (Non-Converted Leads):
My BPM correctly checks "Accès marketplace" in Contacts when :
- The associated Account has "OFFRES" = ACHAT or ACHAT SUR MESURE.
- This works when the Account already exists in Sugar or Account is created before the creating of a new contact.
BPM Configuration Details:
Target Module: Contacts
Trigger: On record creation of "Contact"
Condition: Checks Accounts. OFFRES for values ACHAT or ACHAT SUR MESURE.
Action: Updates the "Accès marketplace" checkbox.
Broken Scenario (During Lead Conversion):
When a Lead is converted:
- The Contact record is created first.
- The Account record is created afterward.
The BPM fails to check "Accès marketplace" because: At the time of Contact creation, the Account does not yet exist, so the BPM cannot evaluate the "OFFRES" field.
Could you please help me to modify the BPM logic to handle the Lead conversion scenario? Specifically:
Ensure the BPM evaluates the "OFFRES" field after the Account is linked during conversion.
Suggest whether a delayed execution (e.g., via hook/job queue) or a secondary BPM on the Accounts module would be more reliable.
Thank you for your guidance!