Hey All, In my workflow, I added a “*Revert*” butt...
# general
d
Hey All, In my workflow, I added a “*Revert*” button that’s shown based on selected user roles. Currently, I have to edit the workflow each time a new role needs access. Is there a way to make this dynamic, so new roles can be managed without editing the workflow?
m
You can add a custom field to the employee record called “Allow Revert” and your criteria to show the button could be if User:Allow Revert = T
🙏 1
Or maybe go off the center type of the role. So if center type is accounting center or something
k
Put the custom field on the role, not the employee record.
🙏 1
e
For new roles makes sense: create the role and set the flag. For existing roles, you would need the extra step regardless: update the Workflow OR update the role. If the flag ends up being used in another Workflow, then yeah.
🙏 1
d
Thank You