- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2023 10:46 PM
I wanna make a button with the name "Re-Submit"
this button should be visible on RITM only when item belongs to "xyz" scope and state of the RITM is closed incomplete.
In the screenshot attached item belongs to "xyz" scope , so for items belonging to other scope this button should not be visible
pls help with the script
thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2023 02:50 AM
try this
current.cat_item.sys_scope.name == 'Your Scope Name' && current.state == 4
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2023 02:28 AM
it should be
current.sys_scope == 'xyz' && current.state=='4'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2023 02:50 AM
try this
current.cat_item.sys_scope.name == 'Your Scope Name' && current.state == 4
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2023 03:06 AM
I have another query
I want to populate catalog item form automatically from the RITM
I am creating another question for this , requesting you to help me with the script for the same
https://www.servicenow.com/community/developer-forum/to-auto-populate-the-catalog-item-form-directly...