Hi Experts,
We have requirement like , we should hide background process from case navigation based on security roles.
Real time process , I'm able to hide from security roles but BGProcess is not hiding.
Please advise how to do that ?
Hi Experts,
We have requirement like , we should hide background process from case navigation based on security roles.
Real time process , I'm able to hide from security roles but BGProcess is not hiding.
Please advise how to do that ?
Hi
The error you are getting is due to the workflow being executed in the user's context. If the workflow cannot be run on Aync as another user, then yes the user will get this error.
The other approach is to write javascript to get the span element that has the process sessions navigation items and set a display: none to hide or show it
You will have to write javascript to get the element by class and attribute value.
In this case : class name : nav-groupContainer and the attribute value check is: aria-label="Process Sessions"
Hi Kokulan,
This step is breaking my other functionality like , when I'm trying to create new case and when clicking on save button , getting
AsyncOperation Read privileged error :
Message: Principal user (Id=9b40ae36-7466-e911-a827-000d3a3234a1, type=8, roleCount=3, privilegeCount=747, accessMode=0, is missing prvReadAsyncOperation privilege (Id=e84acc8f-0c61-43e3-a716-20964a483bdf) on OTC=4700Detail:
Please advise other way to do this.
Regards, Alok
Hi Kokulan,
Thank you so much, This helped.
Regards, Alok
Hi
If you want to do this in a supported way, you can control this via Security Role, please see below
The other approach would be doing this via Javascript but it's not supported.
Hello Kokulan,
Thank you for your response !!
This will help but will not fulfill my requirement as it needs to hide only for some particular roles not for everyone.
Please advise if i can do anything against security roles. It could be Js or anything .
Regards, Alok Sharma
Hi
You can remove this from the Form Editor when you customise the form
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156