I have a long and complex workflow with many stages and steps written in SharePoint Designer 2013. The workflow is associated with a SharePoint library that was published from a form designed in InfoPath Designer 2013. I need the form to respond to combinations of active user and workflow status.

I have manually set the workflow status to descriptive names, i.e. 'QM Review', throughout the workflow. This was done using the Set Workflow Status to [STRING] action.

I have added the data connection to get the workflow status but I understand that the value returned is numeric. How do I find out the numeric value attributed to my descriptive status names? Or, how do I define a numeric value for these status names?

  • Try creating a view that includes the workflow status and switching to DataSheet view.
    – Erin L
    Jan 14, 2016 at 13:47
  • Thanks for this - I created a view that retrieved all the variables I could from the workflow data connection. This lead to me finding the string I wanted. See the answer below.
    – Trojanian
    Jan 14, 2016 at 14:17

1 Answer 1


So there is no need to reference numeric values only in InfoPath Designer 2013 in this example. From the managed data connection to the workflow (here named AccTestJanuray2016), the Description property:

View post on imgur.com

is returned as a string that corresponds directly to the Workflow status that is set in the SharePoint Designer 2013 Workflow by using the Set Workflow Status to [STRING] action.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.