While updating a records in workflow can we able to remove particular options from the column
eg if i update users table who has many roles particularly i want to remove a role is it possible because if i done via UI only it reflects in switch roles and if i do it in backend then it provides the access but lacks switch role capacity
Hello, when using workflow to update a relation field, you only need to update it to the latest value. You don’t need to check for or exclude specific values.
scenario
i have users with roles Admin,Delivery,Sales,TA and default member
now i need to remove Delivery and Sales how ro do this via workflow
removing roles may be dynamic
I think what hongboji means is that you just have to specify the end results. So instead of thinking about which roles to remove, think about which roles the user should have in the end. In your case, the action should update the roles field of the specific user to “Admin, TA”.
Thank you for your feedback.
But what i try to do is building a user role management so i can provide this to seperate teams admin so they can able to give provide/remove access to their team members without my permission only limited to their roles not all
similarly i can have many teams with seperate group of roles so in total i person can have many roles so maintaining what roles he has is difficult but removing that roles will be easier
i have done this in backend but not reflecting in switch roles in the UI but using a roles union only we can overcome but i am trying to show this in switch role that’s why i am asking how to do this via workflow