- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hi,
I am facing an issue with displaying catalog variables from the RITM on the corresponding SCTASK.
Currently, we have a common Flow Designer flow that is attached to multiple catalog items. Each catalog item has its own set of variables. When a user submits a request, all variables are displayed correctly on the RITM.
However, when the SCTASK is created via Flow Designer, those variables are not visible on the task.
I am aware that there is an option to apply a template in the “Create Catalog Task” action. However, this field allows only a single template to be selected. Since this flow is associated with nearly 300 catalog items, each with different variables, it is not feasible to manage all of them using a single template.
Could someone please suggest if there is a way to dynamically display or pass the catalog variables to the SCTASK in this scenario? If yes, how can I achieve this?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
I don't think possible to handle this using Flow
Instead use script in flow action and then include that in your flow, linkage happens in this table "sc_item_variables_task"
Your flow action will accept RITM sysId so that it knows which catalog item variables to pick
check this link on how to link variables to sc_task
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hi @zee15
Is your variable editor already added in SC_TASK.
Have you used Catalog UI Policies, Catalog Client Scripts for your catalog item . If yes, make sure it applies to Target record - likewise Applies to Catalog item, Applies to Catalog Task checkboxes are checked or not.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0777766
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
I don't think possible to handle this using Flow
Instead use script in flow action and then include that in your flow, linkage happens in this table "sc_item_variables_task"
Your flow action will accept RITM sysId so that it knows which catalog item variables to pick
check this link on how to link variables to sc_task
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
