Triggering a catalog task using flow designer via two different variables - help needed please

Harrys09
Tera Contributor

Hi 👋,

I am working on a flow design where I need the next catalog task to be triggered by either a the state of the  previous task - Build - being closed as complete or a specific variable -‘ready’ which I’ve create to only appear on the previous catalog task so if that variable value is set to yes than the next catalog task - Test- should be triggered: to enable this in the flow designer after the build catalog task is executed then 1. a look up record action is used to look at the catalog variables tables sc_item_option_mtom and the conditions set is to look for the parent item record and the specifics catalog task variable name ready .

  1. Another look up action is used on the sc_item_option table and the condition of the sys id of action 1. Is store here
  2. Then a wait for condition is added where the record of 2. Table is used and the condition added is value is yes
  3. The next catalog task called test is created

This works so when the variable is set to yes it triggers the next task - test .

 

But In the same look up record and wait for completion that I have configured , how do I incorporate an or scenario for it to also work if the state is set to closed complete  , I would be very grateful if someone can advise me on the conditions I would need to set and configure for this.

thank you.

0 REPLIES 0