Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Data pill or scriptiong for the Wait condition on Create a Catalog Task Action on Flow Designer

mfhaciahmetoglu
Mega Sage

Hi folks,

 

I have a brief question concerning the "Wait" condition on the Create a Catalog Task action on Flow Designer.  

 

mfhaciahmetoglu_0-1705583060340.png

You see that I added a variable there, which is a duration. I expected it to wait for that duration and move on with the flow but apparently, that is not the function of that checkbox. It is okay, I can use another operation to solve my issue, no problem, but I was wondering about the function of that data pill/scripting option concerning the Wait button.

 

Thanks.

 

Best,

Firat 

1 ACCEPTED SOLUTION

Unique45
Mega Sage
Mega Sage

Hello @mfhaciahmetoglu,

-If wait checkbox is true then it pauses the flow until this task completes and is no longer active (active=false).

-You added duration there, but it does not work like that. You need select fields that return True or False value.

-If you want add script in the scripting section you should also return True or False value from the script.

 

Please mark correct/helpful if this helps you!

View solution in original post

1 REPLY 1

Unique45
Mega Sage
Mega Sage

Hello @mfhaciahmetoglu,

-If wait checkbox is true then it pauses the flow until this task completes and is no longer active (active=false).

-You added duration there, but it does not work like that. You need select fields that return True or False value.

-If you want add script in the scripting section you should also return True or False value from the script.

 

Please mark correct/helpful if this helps you!