UI Action - Cancel Change Copy Not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2023 05:41 AM
Hi All.
Hope someone can advise me on what is wrong here.
I have enabled the Cancel Change UI Action with the below - the ask is that change team see cancel button on all states(defined) - the below works as intended:
I have then copied (insert/stay) the above and amended the role requirements to be ITIL whereas we want the other staff members to be able to cancel change but excluding when state is in Review state(reserved for change manager only). When copied the button will display but will not trigger the popup box or make any action.
I have then amended the script to the below:
So now - 2 buttons display for change manager (as they are part of itil role, thats fine) both buttons work for change manager role but the one i specifically created for ITIL role does not trigger for ITIL , clueless where I am wrong. Any help appreciated!
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2023 07:33 AM - edited 07-21-2023 07:47 AM
Hello,
The Onclick function does not exist in your code, so when the button is clicked nothing is being triggered.
Onclick: setChangeCancelState();
Hope that helps.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2023 08:17 AM
From my first screen you can see that OnClick is populated in the designated field and that brings up the popup box correctly. Problem starts when I Insert/Stay and only change current.state removing "0" and amending required roles, then it stops working.
So onClick is ok.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2023 01:35 PM
Hey,
Is the client checkbox checked? I can't see the top half in the second screenshot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 01:32 AM
Hi, Yes its clicked, see reminder of options.