Update catalog task variables with flow designer

tomc1
Tera Contributor

Hi Guys,

 

I was struggling for a while to have catalog item variables updated in flow designer. Could not find much information. The solutions involved required scripting, what i wanted to avoid for something that I excepted to be straightforward. I managed to get this working with 4 simple steps that i bundled in an action that i can reuse. Just leaving this here incase it might help someone.  Please note that for this solution you have to create a different action for every variable type.

 

tomc1_5-1680544896941.png

 

 

1. Insert 3 inputs

 

tomc1_0-1680544413013.png

 

2. Create a lookup to the task record number

 

tomc1_1-1680544498148.png

 

3. Create a lookup to the request item number

 

tomc1_2-1680544547294.png

 

 

4. Create a lookup to the variable

 

  Put the request item in the parent item an the 'field name' variable in the 'Dependent item.question

 

tomc1_3-1680544609856.png

 

5. Update the value of the dependent item with your variable.

 

tomc1_4-1680544839368.png

 

 

 

3 REPLIES 3

Rajini2
Mega Sage

Hi,  I used the OOB Update Catalog Variable action, and I see the values are assigned in the flow context, but variables are empty on the form. Now I see your post regarding a custom action.  So, are you saying that OOB Update Catalog Variable action is not going to update the catalog variables on the RITM / SCTASK ? 

I am not aware that there is an OOB Update Catalog Variable action. Are you sure one exists?

GM5
Giga Guru

Wow this is awesome! thanks 
By the way there's no "OOB update catalog variable" action not sure what the other user was talking about.