function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
itstaff1.3920641347534116E12itstaff1.3920641347534116E12 

Process Builder error when flow is triggered

I have a process set up that calls a flow when the criteria are met. I have built in apex code and workflows that update lead records to meet the conditions I have specified within process builder. When I update the lead manually to meet the condition, the process executes and the flow completes the action as expected. But when the update is done via apex or workflow to meet the condition, the process executes, but I get an error at the flow: "The record couldn't be saved because it failed to trigger a flow. A flow trigger failed to execute the flow with version ID 301J00000001kkx. Contact your administrator for help."

I am stumped. Any help would be greatly appreciated.

Thanks.

 
Parker EdelmannParker Edelmann
Are you able to eliminate the apex and the workflow and replace it with a process? It's a long shot, it may not help, but there is a possibility it could. You never know, it could just be that it doesn't like the workflow.
Parker EdelmannParker Edelmann
This answer to another question could help as well: https://developer.salesforce.com/forums?id=906F0000000D84kIAC