Hello 👋
I have a workflow with two main paths. Either a person can submit their work for review or go straight to done, as shown here:
I've currently got a condition on the transition from "in progress" to "review" so that only users in group "trainees" can make that transition.
On top of this though, I want to make a condition on the transition from "in progress" to "done" so that users in the group "trainees" can't make that transition. I know I could make another user group with everyone who isn't a trainee, however, I don't want twice the user group admin.
Is there a solution to this? I tried building my own JMWE condition but couldn't figure it out.
Thanks so much!
It’s really almost the same as the other condition, just with a ! in front:
!user.groups.includes("trainees")
Incredible, that does the trick! Thanks so much :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.