SharePoint 2013 Workflows and Workflow Status Column

SharePoint 2013 type workflows developed using SharePoint designer does not show internal status values (Inprogress, Started, Suspended, Completed) rather stage information would be shown in the Workflow Status column and the same workflows when developed using Visual Studio, empty values will be shown.
We can resolve this issue using SetWorkflowStatus action. Using this action we can set internal status values or custom values for designer workflows and valid status values for Visual Studio workflows. Since SetWorkflowStatus action is a designer action, it does not available for Visual Studio workflow by default. To enable this action, we have to add following assembly in the toolbox.

Microsoft.SharePoint.WorkflowServices.Activities.dll

It is located at C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\TEMPLATE\WorkflowActivities

Then drag the action and set the required value.


Comments

Post a Comment

Popular posts from this blog

Switch from Classic to Claims Authentication in SharePoint 2010

How to query list data using web service