Is there a way to get the current stage that an user task is in, similar to how you get the current step?
Like in the screenshot below, get the value "Some other stage", so that I can use it to detect where in the process the user task is with Javascripts.
Right now we've been working with getting the current step, but if there are, say, 5 steps that we need to do something for, then that means that we have to do...
If (step = this, or step=that, or step=thisandthat or step=thatandthis) then do something.
and we were hoping to accomplish this quicker so that we could just do...
if (stage = Some other stage) then do something.
Also that would aliviate the need of having to update the code when you rename a step.
Any suggestions, ideas or guidance?
Thank you,
Raul Gonzalez