Unable to get value from "Get catalog variable" action in flow designer.

Sachin G K1
Kilo Sage

Hi All,

I am unable to get variables in step 9 fetched in step 5 or 8.I have moved variables from available to selected in step 5 and 8. But still issue exist. Please guide me.

find_real_file.png

 

Thanks in Advance,

Sachin

1 ACCEPTED SOLUTION

Hitoshi Ozawa
Giga Sage
Giga Sage

Hi  Sachin,

Flow Designer only allows usage of data pills inside the scope. That is, variables declared within the if statement can only be used within the if branch.

To usage variables defined in the if branch after the if branch, create a Flow Variable.

find_real_file.png

After getting the Catalog Variable, add a "Set Flow Variable" to set the catalog variable to the Flow Variable.

find_real_file.png

Then, use the flow variable in the if statement in step 9.

find_real_file.png

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you are using IF action; so it would show that previous action which has the output result as Success/Failure

What you wish to check using IF action?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

 lets say, i have fetched location variable in step 5.so in step 9 i want to check if location is india.

Hi,

Is location variable a reference variable?

why not use lookup record on location table and then use output of Lookup record in the IF Action

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hitoshi Ozawa
Giga Sage
Giga Sage

Hi  Sachin,

Flow Designer only allows usage of data pills inside the scope. That is, variables declared within the if statement can only be used within the if branch.

To usage variables defined in the if branch after the if branch, create a Flow Variable.

find_real_file.png

After getting the Catalog Variable, add a "Set Flow Variable" to set the catalog variable to the Flow Variable.

find_real_file.png

Then, use the flow variable in the if statement in step 9.

find_real_file.png