Can we create change tasks in Standard change template in scheduled state

shivakumarp
Tera Contributor

Hi Community,

 

I'm creating a standard change template it also consists of change tasks templates, but the catch here is I want to create two change tasks once the change is in New state and the remaining 3 tasks once the change moves to Scheduled state is it possible to create change tasks in the above way in Standard change template. any help appreciated.

 

@Ankur Bawiskar any help sir?

2 REPLIES 2

Dr Atul G- LNG
Tera Patron
Tera Patron

HI @shivakumarp 

 

Yes this is possible , and you can use the flow/ workflow for this.  You need to modify the OOTB workflow.

 

https://INSTANCENAME.service-now.com/workflow_ide.do?sysparm_nostack=true&sysparm_use_polaris=false

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

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

Rafał Rataj
Tera Contributor

the change task from the proposed template are all created at one by the BR "Create Standard Change Tasks" on change_request

there is also the Flow for implementation step "Change - Standard - Implement" 

 

you would need to update the BR, actually the script include StdChangeUtils.createChangeTasks()  to create only eg tasks with a task type = planning 

Rafa_Rataj_1-1710837234085.png

 

and then create your own flow "Change - Standard -Scheduled"  to create the tasks for scheduled state.

You can also just focus on this flow to create the new tasks if you do not have so many standard changes types and hardcode it there, will be easier but the tasks would be just int he flow not in the templates so not a good solution.