We have some simple scripted validator (one for each screen field) in a workflow transition. Is there a way to reorder them?
No, because the order of validators does not matter.
Each validator is a simple yes or no question. If any one of them is a "no", the whole thing fails.
Think of baking a cake - you have validators like "do we have eggs", "do we have flour", and "do we have sugar" and "do we have butter". If any of them are "no", the transition from "gathering ingredients" to "making cake" fails. It is irrelevant what order you check for them.
I suspect your question is about a conditional flow of validation - if <something> = X, then check Y, but if <something> = Z, then do no further checks. Is that what you're trying to do?
I just want to have the same order as the fields in the screen. I can add a new field in the beginning of the screen but the new validation will be executed as the last one.
But the order does not matter. The only place you see the order is when you're an admin editing the workflow.
It looks like you're new here. Sign in or register to get started.