Using Catalog Task Variables in actions in Flow

shoonie
Tera Contributor

Hi, 

 

I am at a loss on what to do.  😅

 

I am working on a flow where after approvals, a catalog task will be created. This catalog task is for the fulfillment group (I am assuming) and it will contain variables that the group should edit. These variables are NOT visible in the RITM and the Catalog item, and it will only be shown in the catalog task. For example, there is this variable called Delivery Method which the fulfillment group chooses when the SCTask is created and assigned to them.

In the flow, I used the Create Catalog Task action, chose the template catalog item and added the variables that I want shown in the catalog task (including Delivery Method).

How do I get the input of the variables AFTER the fulfillment group adds it? I need to use it in an if condition after the Create Catalog Task action... For example, if the fulfillment group chooses Onsite, then call this subflow or if the fulfillment group chooses Postal Services, it will call this subflow.

Is there a way to do this?


1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@shoonie  

yes you can use fresh "Get Catalog Variables" flow action again after your Catalog Task action.

Then you can grab the latest value of that variable and use IF flow logic.

Note: Don't use earlier "Get Catalog Variables" flow action as it will not give you the updated value

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@shoonie  

yes you can use fresh "Get Catalog Variables" flow action again after your Catalog Task action.

Then you can grab the latest value of that variable and use IF flow logic.

Note: Don't use earlier "Get Catalog Variables" flow action as it will not give you the updated value

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@shoonie  

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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