- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 08:47 PM
Hello
I want to hide the create change UI button for every user in all states but make it visible for the users with the change authorizer role only in the implementing state. is this possible
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 10:29 PM
you want cancel UI button to be visible when change state is implement and the user has role authorize_change correct? in this case remove the other condition
Harish

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 09:02 PM
you can place the condition on UI action like below
gs.hasRole('rolename') && current.state == -3 // -3 is the choice value of Authorize state
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 09:06 PM
Hi
Just to clarify, Place the code on the UI action for the cancel change correct?
I was not sure if I needed a new UI action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 09:12 PM
This is what I had done, what do you think?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 09:14 PM
after - 3 you can remove the other condition i.e && new change form.
Harish