- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2022 02:44 PM
I have 2 UI Policies to show variables based on a select box option of another variable.
1. If access_type = grant (order 100)
Then show the following variables:
itil_license, approver_license, add_to_group, additional_role_SNOW
2. If access_type = revoke (order 200)
Then show the following variables:
remove_approver_license, remove_itil_license, remove_user_from_group, revoke_access
Here are the screenshots:
Here is the result:
The revoke catalog ui policy is working, but the grant is not. I've tried adding the grant variables with visible false to the Hide/Show on Revoke policy along with the visible true variables, and did the same to the Hide/Show on Grant policy, but still no luck. It acts like the policies are stepping on each other, but for the life of me, I can't figure out why. I've messed with the On Load, Reverse if False values and I even added the "None" to the variable options for Select the access requested variable. Nothing seems to work. What am I doing wrong? I've already spend WAY too much time on this. Any help is really appreciated!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2022 02:52 PM
Well, I figured it out. I have to have the "None" option added to the "Select the access requested" variable, create another ui policy that sets all the options (for both add and revoke) to false, and uncheck the Reverse if false. Then my ui policies work, showing only the values that should be shown. Of course, right after I wrote this. Thanks for the support, anyway!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2022 02:52 PM
Well, I figured it out. I have to have the "None" option added to the "Select the access requested" variable, create another ui policy that sets all the options (for both add and revoke) to false, and uncheck the Reverse if false. Then my ui policies work, showing only the values that should be shown. Of course, right after I wrote this. Thanks for the support, anyway!