How to wait change request flow until one change task to create

ramesh_r
Mega Sage

Hi All,

 

I have a flow designer on the change request table. and it's triggered when records is created and Between i am trying to put the wait for the condition to check if any change task is created or not if no change task is created then i have to wait for the flow till to create one change task.

 

can you help me with what condition i should give for this scenario .?

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@ramesh_r 

you need to use script there

 

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

Hi @Ankur Bawiskar 

 

Could you have any sample script or relevant links to get an idea .?

 

@ramesh_r 

you can use Do until loop and check if record got created in change_task

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

@Ankur Bawiskar 

 

I created it like that but the Do Until is running 1000 times in 10 min after that its completing.

 

ramesh_r_1-1683009151331.png