Assign System.Role to user with an Microflow

0
Hi, in my domain-model a user can be maintained as approver, so the other users can select this specific user as approver. How do I assign the System.UserRole “Approver” to the user within a microflow, when he is maintained as approver in the entity A_Fastlane.ExecutiveApprover by an admin?  Thank you! Tjark    
asked
2 answers
2

Do a retrieve of the user role and add that one to the user. The retrive you do with XPath from database like:

[id = '[%UserRole_Administrator%]']

This retrieves the admin user role. You will see your own roles there so you Ctrl to see the other roles in your app.

Regards,

Ronald

 

answered
0

Thank you Ronald :)

I’m not sure, how I can assign the role I retrieved to the user. Could you please get me on the horse again? 

answered