I want to make sure that each issue is given a meaningful resolution when moved to done. I've created a screen ("Get Resolution") and attached it to each workflow transition that move to a "done" state. The field Resolution is a required field. So far so good.
My problem is that, on the transition screen, the Resolution field defaults to the first option (for example "code fixed"). Most people will simply save that value, I want the screen to force them to make an active choice rather than passive.
I tried using the post-validation that the field had been changed, but this always passes (I believe because it changes from empty to whatever they pick, including the default). So I have changed the first resolution to "Please select" so that it defaults to that and I will at least be able to find issues where they did not make a "real" choice and fix them after the event.
I was hoping that I could validate Resolution is not "Please Select" but I cant see a way to do that. I also looked (unsucessfully) for properties to let me set the value pre-transition which would force the "has changed" validator to activate.
The only thing I can think of is two transitions, one to actively set the resolution to "Please Select" and then the other, with the screen, to validate that the user changed it. However unless I can trigger the second transition from the first then I'm I'm relying on the user to pick two transitions in a row, which is not a great interface, I can see how I could make that trigger happen automatically?
I'm out of ideas, anyone inspired?