1

I am now merging our too many process builders and WFR's into as minimum as needed PB's. I am doing this mainly to control the OOE on the objects.

I now have 2 PB's on Task object, one is on Create only, and the other is on Create and Every Edit.

Is there an order for the execution between them? I would assume that the 'Create Only' will fire first, but is it?

1 Answer 1

1

No. You cannot guarantee the order of Processes. You can generally assume that on any given day, they will probably execute in the same order, but across releases, patches, restarts, and deployments, they may change order arbitrarily. In fact, the way the system is designed, you should pretend that all the processes execute simultaneously, as they cannot see changes made by other processes in the same execution cycle (you can use the "reevaluate on update" advanced option, but processes will only see the changes on the next cycle).

4
  • Thanks, If I use the 'Evaluate Next Criteria' on the PB step - will the next step see the 'Updated' Data, or 'Original' data?
    – Saariko
    Commented Aug 4, 2020 at 7:38
  • 2
    @Saariko documentation: IMPORTANT When a process continues to the next criteria node, it evaluates the values that the record had at the beginning of the process. So, no, even further criteria won't see updated values until the next cycle.
    – sfdcfox
    Commented Aug 4, 2020 at 7:40
  • 1
    @sfdcfox - My next criteria node does see updated values- see here. Until this critical update is applied, you might see the opposite behavior. However, you should assume you can't do it and not rely on it if it does work if you test Commented Aug 4, 2020 at 10:25
  • @KrisGoncalves Oh. Didn't know it was broken. Thanks for the info.
    – sfdcfox
    Commented Aug 4, 2020 at 14:22

You must log in to answer this question.

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