I'm trying to invoke a process builder process on all Contacts related to an Account, when an Activity (Event) related to that Account is updated.

I know I can update the full set of contact records themselves, for all child Contacts of the Account, using the Update Records action:

Action Type: Update Records

Record Type: [Event].Account ID.Contacts <--this represents all Contacts of the related Account

...but can I pass all the Account's Contacts as the Starting Object(s) for an invoked process? It seems I can only pass a single reference as the Starting Object:

enter image description here

When trying to define the reference for the SObject variable, I navigate a similar UI as when I selected the "Record Type" (record(s) to update) for the Update Records Action, but I can only select parent objects of [Event].Account ID, and [Event].Account ID.Contacts isn't selectable.

I realize I could create a custom "Run Update" field on the Contact object, and update this flag using the Update Records action from the Event-triggered process, then have this Run Update field trigger a process on each Contact record individually, but this seems sloppy. Is there any way to invoke the process on a set of objects like this, without this weird workaround and without Apex?


I think you can just pass the Event as sObject reference and your Update Records process will take care of updates of all contacts, since Record Type is [Event].Account ID.Contacts.

  • The problem is that I need to run a process on each Contact, not just make an update on the Contact records. – Chris Lukes Nov 18 '16 at 21:58
  • you can use flows – Santanu Boral Nov 18 '16 at 22:00
  • The use-case is that I actually need to update a sub-set of Campaign Members on each of the Contact records, so I need to run a process with the Contact as the SObject in order to access these child records of the Contacts. I can't reference the Campaign Members from the Event-triggered process since they are not considered to be child records of the Account (i.e., [Event].Account ID.CampaignMembers isn't available), and I can't refer to these "grandchild" records via something like [Event].Account ID.Contacts.CampaignMembers. – Chris Lukes Nov 18 '16 at 22:06
  • Okay. I guess I was wondering if flows is the only way to achieve this. Thanks. – Chris Lukes Nov 18 '16 at 22:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.