Change Request UI Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2017 03:48 AM
Hi All,
We have a UI action on our change request form of 'complete'. This currently displays when change request sate = 13 (Waiting to be completed) and the user has either the role u_change_manager or problem_manager.
We have a requirement that the complete ui action does not show until the proposed change has been applied. Does any know how I can amend the condition to cater for this. Current condition:
current.state == '13'&&(gs.hasRole("u_change_manager")||gs.hasRole("problem_manager"))
Thanks
Sam
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2017 03:52 AM
Hello Sam,
The change would have been getting applied through a change task. If yes, it should be made mandatory for the chnge task to close before completing the change through UI Action.
You could also write a script include as a condition to check if the associated change task has been closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2017 04:25 AM
Hi Saprem,
Currently the change request waits for the change task to be completed before it moves the change to the waiting to be completed state (13)
When in waiting to be completed state currently the 'complete' and 'apply proposed change' ui actions appear.
We want the apply proposed change to display when it gets to waiting to be completed, but the 'complete' ui action to only display once the 'apply proposed change' ui action has been ran.
Hope this helps clarify
Thanks
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2017 04:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2017 04:44 AM
Hi Sam,
if Apply Proposed change is doing some changes in the fields of the change form, then you can use those changes in your condition, suppose your change state is changing or some othe field.