You can create a group, add the role to that group, and then add members to the group. It’s simple—but you cannot add any role to snc_internal.

Never, ever assign a role directly to a user."

 

That will be a manual effort. But my requirement is, when the user logs in, he should get one more role with snc_internal.

Okay, so what role do you want to assign? And is it for all users who log in? If yes, then create a Flow and add a condition to check if it’s their first login. Assign the role by adding the user to a group, and from there the user will get the role."

 

https://www.servicenow.com/community/developer-forum/how-do-i-add-a-user-to-a-role-in-flow-designer/...

we can go with the business rules as well right?

Yes, but Flow is recommended as it is low/no-code. I think I’ve answered your question—please accept the answer and close the thread."

View solution in original post