Affected CI 'Add' button to be visible on New and Assess state of Change Request and always visible to users having Change_manager role .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2022 02:48 AM
Hello Experts,
I am stuck with thie below issue
Affected CI 'Add' button to be visible on New and Assess state of Change Request and always visible to users having Change_manager role .
There is a script include ChangeProposed responsible for this , i modified the condition , its visible on New and Assess state now but then not able to add Affected CI to the list and How to bring add button always available for Chnge manager role? see screenshot attached
Kindly help !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2022 02:59 AM
Hi,
add one more condition like this
if ((this._changeRequest.isNew() || this._changeRequest.isAssess()) && gs.hasRole('change_manager') )
return true;
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2022 03:15 AM
This condition is not working, its not showing on Assess also now for itil users. And for change manager role also its not showing on all states
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2022 03:19 AM
There was a OOB Business Rule ' Read Only CI when not new' which i deactivated and then was trying to update this script include as per the requirement.
I could achieve the button visibility on New and Assess but on assess state, when i click on Add button for Affected CI , the CI did not get added to the list under Change ...and for change Manager role also 'Add' feature was not coming in all states of Change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2022 03:59 AM
Hi