Automatic role assignment using flow designer

BKulisz
Tera Contributor

Hey Team, 

 

Is there any possibility to assign the specific user role automatically using Flow Designer? 

 

I have very simple flow where after request approval, user should get the new role assigned automatically. 

 

Can you advice? 

 

Thanks in advance!

3 REPLIES 3

PrashantLearnIT
Giga Sage

Hi @BKulisz 

 

You can do that.

 

********************************************************************************************************
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.

********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect


Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************

Hey @PrashantLearnIT , 

 

Thank you for your quick response 🙂 

 

Can you guide me a little? 

I was trying to search the proper action but don't know how to proceed...

Hi @BKulisz 

You can use Create Record action in flow, and then you can create record in sys_user_has_role.

 

 

********************************************************************************************************
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.

********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect


Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************