+ Start a Discussion
mariagusmariagus 

How can I catch validations / exceptions on a flow

Hi,

 

I have a flow which creates a record of a custom object, where user enters its name. This data must be unique so I have a trigger that validates that.

 

If I try to create a record with an existing name, I get an e-mail with the exception, but what I would like to get is a screen with this error message. I don't mind creating a variable which will be populate with this error and show it in a new screen in the flow or just create a page with the flow target and show the error message there. Both optios are valid for me but I don't know how to develope it.

 

Any idea?

 

Thanks in advance.