'Set Catalog Variables' action not available in Flow Designer

laurentlevy
Tera Contributor

What is the trick for getting this action to become available? I thought it was in one of the spokes but I can't find it.

 

Thx!

1 ACCEPTED SOLUTION

@laurentlevy 

yes I don't have XML

The approach I shared will also work, the steps are simple though

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@laurentlevy 

if you are thinking to update catalog variable in your flow, then that's not available OOTB

there is no direct action that updates the variables in flow designer and also it is not recommended also. But you can achieve it through the following steps - 

  1. Look up record on the sc_item_option_mtom table where 'Parent Item' is 'RITM' and 'Dependent Item.Question.Name' is 'variable name' (which variable's value you need to change) AnkurBawiskar_0-1770049394115.png

     

  2. Then look up record -  'sc_item_option' with conditions - 'sys_id' = 'Dependent Item.sys_id' (the first look up record's) AnkurBawiskar_1-1770049394120.png

     

  3. Then Update the last look up record with desire value change - AnkurBawiskar_2-1770049394124.png

     

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Ankur Bawiskar
Tera Patron

@laurentlevy 

this blog has approach for custom flow action to handle this

Set Value of a Catalog Variable at Flow Designer 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Thanks Ankur, these are both very helpful! You wouldn't happen to have an (xml) update set for the Update Catalog Variable action? I'm having trouble trying to recreate it.

@laurentlevy 

yes I don't have XML

The approach I shared will also work, the steps are simple though

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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