Flow Designer - Process on Action error

Str
Mega Contributor

Hello,

When an error occurs in Action, the entire flow ends with an error without any further action being performed.

In the image below, the next "Log" will not be executed if the "SendMail" error occurs.

Is it not possible to branch the process if the Action is an error?

find_real_file.png

Any help would be appreciated, thanks.

16 REPLIES 16

Hi

Have you configured email field properly,

Please check below screenshot, because i didn't face any issue

find_real_file.png

Str
Mega Contributor

Hi

I'm not good at English so I will explain it again

 

This time, I am verifying the FlowDesigner's operation.


#### Issues I Want to Solve ####

@Current movement
One of the actions becomes an error
-> The entire flow becomes an error and ends prematurely

@Ideal movement
One of the actions becomes an error
-> Execute the next action without ending the flow

###########################


I created the following flow designer.

find_real_file.png


To of SendMail is obtained from the address field of the sdaddr table.
If the Address field is correctly entered, an email will be sent.

find_real_file.png

 

However, since the address field is of type String, it may not necessarily contain the correct email address.

In the following example, the address field is set to "abcde".
This is not an email address, so Sendmail fails.

find_real_file.png

In this case, the third action, Log, has not been executed.
This is because the entire flow ends in error.


I want to carry on with the process even if the activity is an error.
Is there any way?

 

Hi Str,

 

I haven't used any scripting to validate email in flow designer  but you can check what are the best practices available to use in flow designer.

Please check below link.might be helpful

https://community.servicenow.com/community?id=community_blog&sys_id=09becbf3db589b403882fb651f961986

 

Thanks,

Trupti S.

KN5
Kilo Explorer

Hi,

 

I am facing similar scenario. Did you get any solution for the same.

 

Your inputs are appreciated.

 

Regards,

Karthik

Stefano N_
Mega Contributor

Hi,

I have the same issue too.

Did anyone managed to solve this problem?

 

Thanks in advance for your support.

Stefano N.