5

With the roll out of sub-processes, it seems like there would be a way to call a process builder from apex, but I'm not finding anything in the documentation. Does anyone know if you can call a process builder from apex?

4

It looks like there is one way to do this using a http callout using a Named Credential to Actions REST API to call Flow or Invocable Process.

See link below for additional details. https://douglascayers.com/2016/10/31/how-to-invoke-process-builder-from-flow/

2

Salesforce introduced Platform Events, that can be fired from Apex, and subscribed directly by Processes:

https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_intro.htm

0

From Apex we cannot call process builder's process, but reverse is true.

Process Builder process can only be get called from other process.

1

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.