How to update sc_req_item variable in flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2025 08:04 AM
How do you, in flow designer, update the variable value of a requested item?
As you can see I've set this up to get the one and only variable "Asset" from the catalog item. In the Update action when I select Fields I don't see Asset or Variables>Asset. If my variable name is Asset, what do I need to do in order to update the value?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2025 08:11 AM
Hi @e_wilber ,
When you run the flow and check the flow execution results, is the Get Catalog Variables action properly returning the requested variables? Do you have the asset variable listed in the catalog item? Does it have a different name/label? Do you see any other variables in the "Fields" field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2025 08:34 AM
Hi @e_wilber , 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 -
- 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)
- Then look up record - 'sc_item_option' with conditions - 'sys_id' = 'Dependent Item.sys_id' (the first look up record's)
- Then Update the last look up record with desire value change -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2025 08:37 AM
Yikes. Might be easier to just set up a business rule for this.