I want to create 5 incident tasks whenever priority field changes to critical

JayachandrReddy
Tera Contributor
 
8 REPLIES 8

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @JayachandrReddy 

 

You can do it via Flow Designer,

 

Trigger update Record where Priority changes to Critical

Action

Create record 

Incident task table

run a while loop till 5 as count. 

 

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

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

Ankur Bawiskar
Tera Patron
Tera Patron

@JayachandrReddy 

you can use flow variable which holds count as 0 and then iterate it and create those many records

For each iteration increase the count and run it till count reaches 5

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

I cannot find the flow variable option in the action

@JayachandrReddy 

it should be present when you configure the flow. please share screenshots.

 

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader