Change Request UI Action

Sam Ogden
Tera Guru

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

4 REPLIES 4

saprem_d
Giga Guru

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


Sam Ogden
Tera Guru

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


Hello Sam,



In this case, you create a flag and set it to true in the 1st UI Action (Apply proposed changes) and use that flag as a condition in "Complete" Action to be visible only when flag == true



Hope this helps !!



~Saprem



[CSA]



Planned Leaves : 25 — 29 Sep 17


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.