Skip to main content
I have a simple process which updates all child records when the parent is updated. The problem I'm having is that occassionally a child record will have some data that was entered prior to a validation rule being created - when the process runs this child record fails validation, and in turn, causes the process to fail - returning a pretty cryptic error to the user. Is there a way to gracefully handle errors like these in Process Builder?
8 risposte
  1. 9 mag 2015, 13:07
    If you have a way to identify those child records, I would suggest fixing the child record or have process to skip it.  

    I have found Process Builder is too basic.  To get around this limitation, I have created flows without any screens or steps and have the process call it.  The process is very simple and the logic is in the screenless flow.  If there are any errors in the screenless flow, the logs have not been informative.  To work around this issue, I would create another flow with a screen to be able to input whatever data the screenless flow needs.  With this new flow, I have it call the screenless flow.  When it errors, I have been able to use the logs to figure out what is wrong with the screenless flow.

    If you are really good, then you only have to create one flow.  If not, create another one and resue the original flow.