Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

bounce back inbound action

tghadage124
Tera Contributor

Hi Guys, 

 

I have requirement where if the email is coming form test@test.com it should not create a ticket but should send bounce back email with the following message : 

 

Subject : ACTION REQUIRED - Ticket not created - Please Read.

 

This email is no longer active. Please log into Service Now using the link below to create a ticket for IT Support.

 

how shall i proceed have tried in bound action but still creating the incident when the email is same.

 

thanks!!! 

any thing would help.

 

3 REPLIES 3

Boyan1
Kilo Sage

Hello, 

As a first step, I would make sure that if the incoming email is associated with inactive user, the inbound actions are not processing.  After that you define new inbound action that is actually generating a notification.

Let me know if you need the code for actual implementation.

 

Best regards,

Boyan

 

Let me know if you need ty

would be helpful .

Mark Manders
Mega Patron

Your inbound action should have the lowest order and 'stop processing' ticked.

 

On the other hand: why not create an inbound email flow (with the same: lowest order, stop processing). The email comes in and from there you can trigger a notification or create an email stating your requirement. No need for scripting.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark