How to update a variable under catalog task from the flow designer

sath
Tera Expert

Hi,

 

We have a requirement of creating a user record on sys_user table from the flow and user id from that user record should be populated on one of the variables under catalog task. How do we populate the variable value on catalog task from the flow designer?

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

@sath 

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-1770122519464.png

     

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

AnkurBawiskar_5-1770122588933.png

 

3. Then Update the last look up record with desire value change - AnkurBawiskar_2-1770122519471.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

View solution in original post

5 REPLIES 5

Deepak Shaerma
Mega Sage

Hi @sath 

use get catalog variables logic, and update the record field.
Happy to help! ‌‌
To help others in the community find this solution, kindly mark this response as the Correct Answer ‌‌ and Helpful‌‌.
Warm Regards,
Deepak Sharma
Community Rising Star 2025