Share all details about your problem, including any error messages you may have received.
My team is looking to have a popup on the “Manage User Access” screen before the user submits their request (click “Submit” button, have popup show up). Is there any way this can be done?
@lesliepierrot AFAIK there is no configuration available to show additional on clicking the submit button. You can try creating a plugin which can inject a script on submit click and show the popup with the details you need.
You can write a small Plugin to basically show a popup on manage user access page.
last week only I have written a small plugin for some other purpose, if you can tell your requirement clearly as on when you want to show this popup?? when the user click submit button or something else, and what do you need in popup as well. i can share you the plugin
User requests more than 20 line items. Clicks “Submit”. A popup opens letting the user know that the request can not go through with more than 20 line items.
Ideally, the user should have the ability to modify their request after this popup appears.
You can use the Policy Violation feature for this. You can configure an Advanced policy which has Rule wherein you can put your logic of limiting user’s requested items.
ProvisioningPlan (plan) is required to count the AccountRequests to be able to determine if the potential Access Request has too many line items.
With the ProvisioningPlan (plan) being missing from Policy rules, is there a way to force trigger the policy violation from the workflow rather than a Policy rule?
@lesliepierrot, I think you can enable a mandatory comments field on the Manage User Access screen. When an access request is submitted without comments, a popup will appear. This feature is OOTB. i thik you can use this filed for your usecase.
@lesliepierrot Shared a sample plugin over chat. Please try this out and let us know for any further help.
Note: Found a fix?Help the community by marking the comment as solution. Feel free to react(,, etc.)with an emoji to show your appreciation or message me directly if your problem requires a deeper dive.
if i understand correctly, if user select more than 20 request to submit, we should display a popup that, please remove few of the request to modify?? Please let me know, if my understanding is corret, i can write a small plugin for you to achieve this.
If you’re allowed to create an additional step in workflow, you can do that way as it will be having plan variable. But it is not recommended to modify the workflow for one generic usecase.
That’s the reason I suggested the advanced policy usage, though you might not have plan variable, you can still get the requested items by comparing between current identity and future identity. You can refer this to get comparisions - Advanced Policy Violation Rule
This has role comparision, but in similar way you can also get requested entitlements and compare
I have created a plugin for your requirement and shared it you in private chat. The plugin works fine, when user select the role request more than 20, they get a popup, saying the request cannot ho through, and ask them to de select few of the request. You can use the plugin, it works fine, if you want to enhance it, you can do that.
If this helps, please mark the post as solution, as it helps other member in the community.