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.

Need suggestion it is possible create change request state to "Scheduled"

chaitanya2948
Tera Contributor

Hi Folks,

 

I got the requirement in a scheduled job that when a change request is created that time state should be "Scheduled", I tried using an object.state=database value of "Scheduled", but no luck

-Always change is created stated is "New"

Have any suggestions or am I missing anything ? please assist.

 

Regards,

CK.

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Yes mate, use change model. 

 

LearnNGrowAtul_0-1706700371441.png

 

 

In change model you can start change from any state.

 

*************************************************************************************************************
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]

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

This should apply only for specific integration change requests, and these records will be created through scheduled jobs & I need to state should be scheduled.

Hi @chaitanya2948 

 

I say, use Flow designer and you can use this model in same. 

*************************************************************************************************************
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]

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

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @chaitanya2948 

 

LearnNGrowAtul_1-1706700418122.pngLearnNGrowAtul_2-1706700437801.png

 

*************************************************************************************************************
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]

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