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.

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 above 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?