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?
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/
Salesforce introduced Platform Events, that can be fired from Apex, and subscribed directly by Processes: