SUBHAM_SHAW_SN
Tera Guru
Tera Guru

Scenario : You have created a flow where the trigger type is "Inbound Email" but you don't know how can you  control the order of processing ? As in most of the scenarios , we need to provide order of execution for Inbound Actions. Then you are at the right place.

Problem : We all know that we are into flow era of ServiceNow where we try to accomplish most of our tasks by using flow designer. Then why not to leverage inbound email trigger of a flow instead of conventional inbound actions. Having said that, there is no OOB ordering & stop processing options available which we generally use to set the precedence of executing an inbound action & to stop processing other matching inbound actions (by saying matching inbound action , I mean to say that inbound actions with matching condition)when the desired one is executed.

Solution : To achieve this , you can create a system property named "glide.hub.flow.inbound_email_trigger.show_advanced" as shown in the following image :

find_real_file.png

Once done, you could see the desired options available in your flow as shown in the below image :

find_real_file.png

 

Thanks & Regards,

Subham Kumar Shaw

Senior ServiceNow Consultant

Comments
Rohit Sarkar1
Mega Guru

Wonderful post!

Paul Curwen
Giga Sage

Nice find! Appreciate the effort.

Rob Greeley
Tera Contributor

Really helpful.  

I'm wondering why this system property is not set OOTB...

shaikleyakath
Tera Explorer

Thank Subham, I have spent hours and hours to solve the problem. Thank you for the post.

Avinash_M
Tera Contributor

Hi @SUBHAM_SHAW_SN ,
I have used this property and enabled in my enterprise instance, but its not working as expected.

My Requirement is - "The existing inbound actions ideally don't need modified.  We need to create a flow which checks if a watermark exists in any inbound email.  If the watermark does not exist, then the email processing should be halted in the flow.  If the watermark does exist, then the flow should allow the email processing to continue to be processed by all flows/inbound actions."

Avinash_M_0-1751305698540.png

So, I have tried this, but its not working. could you pls check.

Regards,
Avinash

 

Version history
Last update:
‎08-10-2022 01:10 AM
Updated by: