How to predefine user role in Create Object activity for Student entity which is generalized over administration.Account activity

0
I am trying to create a register page for students where they should not get chance to define the user role to something else my student entity is generalized using administrator.account entity
asked
1 answers
0

If Student entity is a specialized entity of Account, then it is specialized entity of System.User too.

In that case, you can simply set the association of the User role in the Student create microflow or save microflow.

First you must retrieve the user role by the namespace. Then you can set the association.

In the image below, I have used the name space as UserRole_Employee, you must use yours.

answered