You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have 2 fields:
- Root cause
Root cause is a mandatory field, Supplier isn't.
When a user selects a root cause of '3rd party system issue' then I want them to always specify the 'Supplier'.
How do I block the ticket from being transitioned to resolved in this case? I can't seem to work out how to do this under the 'Conditions' tab of the workflow.
Hi @Kara Hopkins,
No, indeed. Conditions are triggered before you even let a user try to execute it. If you want to validate if something is filled out, you should use validators instead.
First of all, make sure you have a screen associated with the specific transition in your workflow that has your mentioned fields on them. Then, add a Field required validator to the transition, where you select the fields that should be mandatory.
If the required fields are not filled out, an error message will appear on your transition screen and the transition will be aborted.
You may find that you cannot make the validation of the supplier field related to the root cause. To work around that, you could add 2 transitions to move from to resolved, using a Value Field condition to enable either option of the root cause field (empty or not empty). More or less like this:
By using opposite conditions, only 1 transition to resolved will be available to your users. One can then have the validator for the supplier field while the other one doesn't.
Hope this helps!