User role assignment automation

tGhadage
Tera Contributor

Hello Guys, 

 

I have a requirement where I need to automate the assigning a roles to a user.

 

For That I need to create a catalog form on which there will be two slash buckets in one slash bucket we will be selecting the user to which we want to assign a role.

 

And again, we will have second slash bucket from which we will selecting the roles (could be one role or multiple) which we want to assign to a above selected user. 

 

and when we submit it, role will get assigned to mentioned user.  

 

Also, we have to do the same when we want to remove the role for particular user. 

 

Can you guys please guide me on this how should I do this? or what approach shall I have? 

 

Any help would be really appreciated. 

Thanks!!

 

 

 

 

11 REPLIES 11

Hi @Rohit99 ,

Screenshot (312).png

not able to get the variables data.

can you please guide !!

thanks!!

Hi @tGhadage ,
In Get Catalog Item Action, In Submitted Request field select Trigger->Service Catalog -> Requested Item Record and below to that, in template catalog item filed select your catalog name. After that you will find the slush bucket, Pull values you needed.
Then you are able to see those values.

and to access those variables you need to move down 1- get catalog variables in mentioned screenshot.

Thanks,

Rohit Suryawanshi