Flow Designer - Update Record (Set RITM variable values on existing RITM).

JavaScriptMaest
Giga Contributor

Requirement is to create a different RITM with a different Catalog Item but attach it to the same Request that triggered the flow. Meaning the first RITM creates a different RITM on the same request. 

Need to update the variable values of the newly created RITM through the flow, but there seems to be no way to update variable values of an existing RITM using OOTB Actions. Any insights will be highly appreciated.

find_real_file.png

1 ACCEPTED SOLUTION

It wouldn't because I'm only allowed to use existing out of the box actions. But I was able to set the variables on the RITM by looking up relevant records on sc_item_option_mtom and sc_item_option tables where the variable values for the RITM are stored and updating the values.

View solution in original post

4 REPLIES 4

Jeff Currier
ServiceNow Employee
ServiceNow Employee

Have you looked at the "Get Catalog Variables action"?  This may be the way to go based on sc_cat_item and the requested item.

Yes, I did look it up but the 'Get Catalog Variables' action does not fit the need. Need an action similar to 'Set Catalog Variables'.

Then, does this approach work in your case?  You already have the requested item

It wouldn't because I'm only allowed to use existing out of the box actions. But I was able to set the variables on the RITM by looking up relevant records on sc_item_option_mtom and sc_item_option tables where the variable values for the RITM are stored and updating the values.