You need to sign in to do that
Don't have an account?
Phil Rowlinson 6
Can someone give advice on how to best diagnose a process builder error when running a test class
I'm building out a test class and receiving a process builder error. The process builder has many nodes, and should probably be split up, I'm having trouble identifying the unhandled fault. I know that the error is becuase some data is missing in the test class. In regular use, the person activating the process builder gets and error log, but in a test class, nothing is sent. The debug log is incredibly hard to read which node in the PB is failing. I am hoping there is an easy way to do this.
I believe whenever there is a failure of Process Builder, there is an error log that is sent over to the admin's email address. You can use this log to debug which step has failed.
Hope this helps. Please mark as best answer if it does.
Cheers!!
Gaurav