I am using an Assign Todo Task action and storing the IDs into a collection. Immediately after the Assign Todo Task I am using the IDs to query the 'Outcome' field of the workflow task. However, it always shows as blank.

Document created by nintexsupport Support on Dec 24, 2015
Version 1Show Document
  • View in full screen mode

 

Summary:

I am using an Assign Todo Task action and storing the IDs into a collection. Immediately after the Assign Todo Task I am using the IDs to query the 'Outcome' field of the workflow task. However, it always shows as blank.

Product:

Workflow for SharePoint 2010

Answer/Solution:

Add a 'Commit pending changes' immediately after the todo task action. You need to do this because the workflow updates the outcome column, not the user. This causes the original value of the outcome (blank text) to be used when queried because of the way the workflow engine caches list item values. A commit action resets causes the workflow engine to get the latest value of the field.

Attachments

    Outcomes