Check for variable value change in flow designer

rahul gupta6
Tera Contributor

Hi, I have requirement to trigger catalog tasks based on (select box) variable value on ritm record for a catalog item.

The variable is hidden on catalog form and is visible on ritm(once the catalog item is submitted)

The user then update the select box variable value and save it.

Based on it's value, the flow in flow designer should proceed but I am unable to get it's value from RITM.

Any idea?

Or is there a way to trigger flow designer based on variable value (the variable is in a catalog item).

Thanks,

Rahul

1 ACCEPTED SOLUTION

Geoff_T
Mega Sage

Hi, you just need to use the 'Get Catalog Variables' action to get the latest variable value after an update.

 

In the below example, a select box variable value is updated at action step 1 on an initial catalog task. Executing the 'Get Catalog Variables' action at step 2 retrieves that updated value. You can then use that updated value as necessary in subsequent steps (for example on the if condition at step 3):

Screenshot 2022-10-30 at 08.07.19.png

View solution in original post

2 REPLIES 2

Geoff_T
Mega Sage

Hi, you just need to use the 'Get Catalog Variables' action to get the latest variable value after an update.

 

In the below example, a select box variable value is updated at action step 1 on an initial catalog task. Executing the 'Get Catalog Variables' action at step 2 retrieves that updated value. You can then use that updated value as necessary in subsequent steps (for example on the if condition at step 3):

Screenshot 2022-10-30 at 08.07.19.png

rahul gupta6
Tera Contributor

Thanks.

I was taking the catalog variables of initial step (before the ritm is updated).