Should I use a condition or validator for this scenario?

Asl Shushed May 16, 2016

We are trying to prevent users from transitioning an issue without having a particular field filled in. I think a validator is the right choice, but I was wondering if a condition could work if we wanted to go that route instead?

1 answer

1 accepted

5 votes
Answer accepted
zack
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 16, 2016

You can use both, but they will behave in different ways. If you use a condition, you will not even have the option to transition through the workflow through the path that you set the condition on. If you use a validator, users will see the option, but will be prevented from transitioning and will be given an error message telling them why they are being prevented.

 

I prefer to go the validator route because users tend to become confused when they don't see the option they are looking for.

Suggest an answer

Log in or Sign up to answer