ServiceNow Learning 89: Run "Do-While" logic in Flow Designer ServiceNow

Shamma Negi
Kilo Sage
Kilo Sage

Hi All,

 

Today I am covering a use case wherein I will cover how to utilize the Do-While logic in Flows.

 

Live Example:

 

Send a daily email until an incident is resolved.

In this example, the flow sends a daily email about the incident, until the incident is in a closed or canceled state. Inside the Do the following branch, there is a step for looking up the incident record. This is necessary because the record that triggers the flow is only loaded when it is triggered. By adding this look up step, you can get the current state of the incident each time the loop runs.

 

ShammaNegi_2-1701357336300.png

 

 

Hope this helps.

I hope this article helpful. Please mark it as helpful and bookmark if you like it.

 

Regards,

Shamma

 

 

 

 

Regards,Shamma Negi
0 REPLIES 0