Deny state change depending on user group
Hello!
How can i make a state machine to deny certain grps of users to change the tasks states to verified?
Ty =)
How can i make a state machine to deny certain grps of users to change the tasks states to verified?
Ty =)
Please sign in to leave a comment.
if you need the full-featured state machine then just add the 'assertion' in the 'on enter' statement:
But also you can just add the simple stateless rule:
If i would be allowed to ask: which language does the WFE use, and what can be found to read as a reference, except of the to know it a bit better? =O Except http://confluence.jetbrains.com/display/YTD4/Workflow+Language+Reference
ofc =O
I'm working on the rich reference about the workflow language.
but I am getting an error:
thanks for the interesting case. It looks like the bug, I've created the JT-19483.
You can refactor your code in such a manner, it must help:
Let me add my two cents here. It's generally incorrect to check state inside an SM rule or a guard. In case you whan different behavior depending on a source state, you'd better extend your SM to have more states.