Assigning Roles Dynamically to user

Aditya2
Kilo Expert

Hi,

I have a requirement where I have to assign certain roles to current logged in user when he is on certain form and remove that role when leaves that form in runtime. Can anyone please help me with the logic using a business Rule.

Thanks in advance

1 REPLY 1

Community Alums
Not applicable

Hi Aditya,

You can use the below threads for your respective requirement, tweak as per your requirement:

https://community.servicenow.com/community?id=community_question&sys_id=4a4a87a9db5cdbc01dcaf3231f96...

https://community.servicenow.com/community?id=community_question&sys_id=b2c84b61db5cdbc01dcaf3231f96...

Mark my answer correct & Helpful, if Applicable.

Thanks,
Sandeep