CHANGE MANAGEMENT : Any state to cancelled
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 11:13 AM
Hi,
My question is, As a member of the assigned change management group of the service offering, I want to be able to cancel the Change at any stage (not closed), so that if it was raised in error, the process can continue. - Agree on which method to use to move to the canceled state – note that whatever method has been used before should be the same here for a consistent user experience.
My Workaround,
Created a new UI action with condition and script as below,
condition:
current.state != '3' && gs.hasRole('change_manager') && gs.getUser().isMemberOf(''+current.assignment_group);
script:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2024 12:03 PM
Seems you are using server-side code in a client-side script. I use 'alert()' in those to display info the user has to acknowledge. Look at UI actions that use GlideAjax in the script to run server-side code and get a result.