Inbound email flow working when tested but not in practice

Bidduam
Tera Guru

As the subject says, I've created an inbound email flow, when I test it in flow designer and manually choose a received email it fires based on the trigger and does exactly what is expected.

 

The issue is that obviously I want this to trigger when an email is actually received, but for whatever reason it just doesn't. It's likely that something else is running first and stopping anything else from triggering afterwards, but I can't find what that would be.

 

The inbound email is an approval email working on the sysapproval_approver table.

 

The RITM is being approved or rejected as part of the email coming in (which I want to happen), I just want other things to also trigger.

 

I did find the Inbound email action "Update Approval Request" and unchecked the "Stop Processing" option but the flow still isn't triggered.

 

Ideas?

1 ACCEPTED SOLUTION

Bidduam
Tera Guru

I have actually found that the issue was with my trigger conditions. 

Very important lesson learnt - manually testing flow on a record, in this case an email that was received (inbound email) the trigger get skipped, the "Test" button becomes the trigger.

 

So as my issue was with the trigger it appeared to work fine when I tested it, but not when an inbound email was received.

View solution in original post

7 REPLIES 7

@Bidduam 

then can you try to move the flow parsing logic to inbound email action and then no inbound flow is required?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Well obviously in theory that is possible, but it's not actually the help I asked for. A flow is easier for someone else to manage in the future and to update if some extra functionality is needed without the need to script it. It's also the direction ServiceNow seems to be moving, so I'm trying to make it work better in the long run.

Bidduam
Tera Guru

I have actually found that the issue was with my trigger conditions. 

Very important lesson learnt - manually testing flow on a record, in this case an email that was received (inbound email) the trigger get skipped, the "Test" button becomes the trigger.

 

So as my issue was with the trigger it appeared to work fine when I tested it, but not when an inbound email was received.