I have used the the add role example https://ecaguide.org/library/simple/add_role_to_inserted_or_updated_user/, however I have a similar flow, but need to remove a user role. I just like some pointers on how this could be achieved? Should it still be the "Entitiy: Set Field Value"
? If so, how should the field value be set?
I know there is this action - https://ecaguide.org/plugins/user/actions/user_remove_role_action/#fields - however, this would not work in the above scenario (as Jürgen Haas mentions in the video, this cannot be used with the presave event).
Thank you for your help!
Active
2.1
Documentation