cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

How do I get the text from a choice field on a task?

Choice fields on a task seem to want to return an alias code instead of the actual text entered/   This can make a workflow really hard to follow.   Is there anyway to convert the alias code to the text that is in the choice field?

Why does Nintex  do this on task forms?   It does not work that way in regular forms.

0 Kudos
Reply
2 Replies
Workflow Hero

Re: How do I get the text from a choice field on a task?

where do you exactly want to get that text(s)?

in task form itself? or in workflow after task is responded?

in workflow you do get a separate branch for each task outcome labeled by its name (text). in workflow you do not get any code...

Why does Nintex  do this on task forms? 

because task outcomes are shared for all the tasks across  site

Task Form Outcome Conditional Formatting/Validation 

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: How do I get the text from a choice field on a task?

I was ab;e to get it with this little bit of JavaScript

function getDecisionValue()
{
   return NWF$("#" + JS_ctrlDecision +  " input:checked").next().text();
 
}

Assuming your decision field has a JavaScript  variable set to JS_ctrlDecision 

0 Kudos
Accept as Solution Reply