How to write a scripted custom action in flow designer

Harrys09
Tera Contributor

Hi

please could someone help me write a scripted custom action in flow designer for a wait for condition where if the variable I have created which appears on my catalog task and RITM is set to Yes (look up the`sc_item_option_mtom` then get the sys id from the sc_item_options table and get the value if the value is Yes) or if the state of the catalog task is set to closed complete. If either of these conditions are met then the scripted wait for action will complete and the flow will create a catalog task.

 

I would really appreciate any help with this!

 

thank you,

Harry

5 REPLIES 5

hi @Uncle Rob , thanks very much for your reply and sharing those videos!

The part i am having trouble with is i'm trying to do scripting in the wait for condition itself to achieve this but the wait for condition does not wait it just evaluates to false and the flow continues. Do you have any suggestions please on how i can get this script to work:

Harrys09_0-1694085443993.png

Harrys09_1-1694085598963.png