Inbound script for change request

sree42
Tera Contributor

Hello Everyone,

 

I have one requirement to create inbound email to create a change request of standard type having below Planned start date and planned end date:

1. If subject contains 'abc' then dates are : 3rd Tuesday Every Month 10 -5 pm

2. If subject contains 'def' then dates are : 4th Tuesday Every Month 10 -5 pm

3. If subject contains 'ghd' then dates are : 1stTuesday Every Month 10 -5 pm

4. If subject contains 'xyz' then dates are : 1st Wednesday Every Month 10 -5 pm

5. If subject contains 'qwe' then dates are :1st Thursday Every Month 10 -5 pm

 

I am not able to get this script. Please anyone help me on this?

 

 

10 REPLIES 10

Can you please help me how can we get the 3rd Tuesday Every Month 10 -5 pm when the email received and set that date in to planned start field. I have went through the script but it getting the day by today's date. I need to get that date when the email receives. How can we achieve that?

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @sree42 

 

Inbound action is not work directly here, you can use the Flow designer and map the standard change template for same and then you can set the value in plan start date and end date.

 

Give a try and share feedback.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Thanks for this. How can we get the script for getting the Thursday, Tuesdays like 3rd Tuesday Every Month 10 -5 pm as planned start date and end date?

My friend @Amit Verma is look like on lighting speed today, before I scroll, he is sharing the links with you. Have a look on link shared by Amit.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Thanks Atul.