Flow designer

Feroz1
Tera Contributor

Hi Team,

 

if one of the task variable is filled and saved on sctask need to generate another task with out closeing the current task another sctask need to open in flow designer in servicenow.

 

Thank in advance

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Feroz1 

don't make the flow wait on 1st Task closure.

After your 1st Catalog Task step, you can use Wait for Condition logic and wait till that variable gets filled

Once filled you can proceed to next step which is Catalog Task creation

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

Ankur Bawiskar
Tera Patron
Tera Patron

@Feroz1 

this link has approach from Anil lande on how your flow can wait till that variable is updated and once updated/filled, you can break the loop and proceed

How can w use wait for condition in flow designer for variable? 

Also an easier solution is shared there, below is the image, it will wait till that Variable is empty, once not empty it will proceed

AnkurBawiskar_0-1757573668108.png

 

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

Jami Rohit
Tera Expert

Hello @Feroz1 ,

For your requirement in Flow Designer, you can handle it as follows:

 

  • Add a Condition step (using If) to check whether the variable value is filled or left empty.
  • If the value is filled, use the “Create Catalog Task” action to generate a new sc_task.
  • Place this logic inside a Flow control step (such as Do Until or For Each) so it can iterate and create the required number of sc_task records.

 
Please hit like and mark my response as correct if that helps.


Thank you

Regards 
Rohit