Flow designer Inbound Action is triggering only when email sent from Admin credentials.

RudhraKAM
Tera Guru

Hello there 

 

I created a FLOW designer which will trigger when a email is sent with **** subject in it , we noticed that it is only working when I use my admin email ,If i sent an email from  regular or ITIL users email its not working

 

Can some once help me with that 

5 REPLIES 5

Chuck Tomasi
Tera Patron

The way the flow trigger works is that it executes the flow as the sender of the email which will be guest if it can’t figure out who the sender is from the email address. Because the ACLs are very restrictive on sys_email there’s a good chance that the sender won’t have rights to touch the sys_email table. The way to deal with that is to drop into a subflow running as system to do what you’re trying to do.

Flow trigger types | ServiceNow Docs

Thanks Chuck , How to use the sub flows if the 1st step in the flow is not executed ?

and i tried to run as  system user and user who initiate the session  but in both cases its giving me an error.

find_real_file.png

find_real_file.png

Create the subflow first to process the email based on the input parameters. The main flow will be triggered from the inbound email then call the subflow (passing the parameters to the subflow.)

RudhraKAM
Tera Guru

Chuck , 

 

I created the sub flow but not sure how to trigger that ,, 

As of now if an email with xyz as subject is entered in to Servicenow I am creating an incident with Short description abc ,, 

when i created the Sub flow there is no lookup for record which is just created or some thing like that.

and is it creating the new subflow and creating sub flow in the flow the same ?