+ Start a Discussion
U JayU Jay 

Error on test class for the trigger : CANNOT_EXECUTE_FLOW_TRIGGER

I have a trigger on object. I tried to write a test class for the trigger. When i run the test class on the line that insert the object of trigger, i got an error:

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, The record couldn’t be saved because it failed to trigger a flow. A flow trigger failed to execute the flow with version ID 301g000000016GM. Contact your administrator for help.: []


Can anybody help me to figure out the reason ?

Thanks in advance.
Arun KumarArun Kumar
See below link might be related to them:

https://success.salesforce.com/issues_view?id=a1p300000008Xn7AAE

https://success.salesforce.com/issues_view?id=a1p30000000T3sCAAS

http://salesforce.stackexchange.com/questions/72951/process-builder-breaking-production-deployments

Thanks,
Arun