Flexi Task Decision Outcomes all "-1"

  • 26 March 2021
  • 0 replies
  • 423 views

Userlevel 3
Badge +8

Issue

The outcomes field on a Flexi Task task form does not function like a normal choice field in that the output of this field is not Approve and Reject.
By default the control is called decision and it outputs a number.  This number corresponds to an ID in the dbo.ConfiguredOutcomes table in the Nintex Content database.  
When creating a rule that looks for the decision the rule needs to look for the ID and not the actual outcome word like Approve.
By default Approve is 1 and Reject is 2.  When creating your own outcomes the number can be anything.
To find out what the number is so that it can be referenced in a rule put a Calculated value control on the form and reference the Decision named control.

When previewing the Task form the Calculated Value will always show -1 regardless of the option that is chosen in the decision control.

 

Resolution

To resolve this issue the Task form needs to be saved and the workflow published and run.
Only an active task with a Nintex Task form configured as above will show the true ID's when an option is selected.
Once these ID's are know relevant rules can be written that reference the decision control

 


0 replies

Be the first to reply!

Reply