0

From within Process Builder, I would like to setup a criteria such that every time I delete a contact from a campaign, it would kick off an action.

To detect deleting a contact, I have setup the following condition to evaluate as true: [CampaignMember].IsDeleted

However, for some reason, every time I manually delete a member from a campaign, the criteria would not trigger. Here is my setup:

enter image description here

Is there a way to setup Process Builder to detect if a member has been deleted from a campaign? Thank you.

1 Answer 1

0

Process builder doesn't allow you to check for deleted items. It only supports creation and editing. I did find a work around this, however. If you create a new roll up summary field in the campaign object you can count the number of campaign members. Then you can create a process in process builder that will do an action if the prior value of the count of campaign members is lower than the current value of the count. The formula would look something like this:

IF(PRIORVALUE(*campaignMemberCount*) > *campaignMemberCount*, TRUE, FALSE) == TRUE

I found this link that helped me test your problem.

2
  • This would be done by creating a process on the change of a campaign instead of an individual campaign member. Sep 15, 2018 at 1:42
  • You know you could just say PRIORVALUE(*campaignMemberCount*) > *campaignMemberCount*... also, you can edit your own answer if you want to add additional information.
    – sfdcfox
    Sep 15, 2018 at 2:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .