how to configure wait for condition in flow designer based on state and custom variable value

Harrys09
Tera Contributor

Hi,

i needed some help please as i'm configuring a wait for condition in flow designer where the conditions that must be met are:

  1. variable value is Yes 

Or

2. The state is complete

if one of these conditions are met then the the next catalog task will be created.

 

i have configured this like this so far (see screenshots below):  where i look for the variable from the sc_item_option_mtom (variable ownership) table then i look up the options table to where the sys id of the dependent item of the previous step and then created a wait for condition that waits till the variable value is set to 'Yes' on the catalog task. How could i adapt what i have created so the same wait for condition also works if the state on the catalog task is set to 'closed complete'? Like in first look up action how do I adapt it to also look up the state of the catalog task from the 

 

sc_item_option_mtom table

 

i would really value any help on this. Thank you 

Harrys09_0-1692769389403.png

 

 

 

Harrys09_1-1692769389405.png

 

 

 

Harrys09_2-1692769389684.png

 

 

 

 

Harrys09_3-1692769389414.png

 

Thank you,

Harry

 

6 REPLIES 6

You can use the OOB action called "Get Catalog Variables" for it

 

Sanjeet_Choudha
Tera Expert

@Harrys09  you can use available action which gives you variables values of ritm. you dont have to use look up for mtom or option table for values.

Please correct me if I misunderstood.

 

Thank you

Sanjeet