I need to create the logic inside of a Server Action that can create a new rol .
Go to the last link and there is an OML as an example, at least is being shared there.
If you read my last post, you can see there is a role system entity, you just need to use the actions to create new roles as you want.
Have a look.
There's a good answer in this post.
Have a look
https://www.outsystems.com/forums/discussion/46740/is-there-a-way-to-create-grant-user-roles-access-dynamically/
And another here
https://www.outsystems.com/forums/discussion/76640/how-to-create-and-assign-roles-from-ui/
Let us know if that helped you!
Kind Regards,
Márcio
How can I create the whole logic ? That is my problem , I don't know how