Visibility of variables in Variable Editor on Catalog Task when navigated via New button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I want to make variables in Variable Editor isibile on Catalog Task when navigated via New button (in new mode) from related list.
I also checked the form layout and Variable Editor is included and displayed correctly when the task are created via flow but while creating manually via related list the Variable Editor is shown for few records and not for all records having Variable associated to RITM.
Can someone help me on this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Buddy,
This usually happens because the Variable Editor on a Catalog Task only shows when the Request Item (RITM) is already populated at the time the form loads that I have seen.
When tasks are created via Flow, the request_item field is set automatically before the record opens, so the Variable Editor knows which variables to display and everything works fine. But when you click New from the related list, the form sometimes opens before that reference is fully populated, so the Variable Editor has nothing to pull from and doesn’t appear.
That’s why you’re seeing it for some records and not others more then likely..
The most reliable way to fix this is to make sure the request_item is populated before the form loads. Many teams handle this by using a custom UI action or ensuring the RITM is passed in the URL when creating the task, instead of relying on the standard New button. Once the request item is set at form load, the Variable Editor should display consistently.
@VipulM068601172 - Please mark Accepted Solution and Thumbs Up if you found Helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
manual tasks don't get the associated Variables directly.
Why are you allowing manual catalog tasks ? Not Recommended practice
In which case it's seen? share screenshots
You need to add entry into table "sc_item_variables_task" and link those variables to this task. You can use after insert BR on sc_task for this
check this link for the same approach
💡 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 || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hope you are doing good.
Did my reply answer your question?
💡 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 || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
