WorkflowSubscription.StatusFieldName property

SharePoint 2013

Gets or sets the name of the workflow status field on the specified list.

Namespace:  Microsoft.SharePoint.WorkflowServices
Assembly:  Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)

public string StatusFieldName { get; set; }

Property value

Type: System.String
Returns the name of the status field.

This property is only used on List workflows. If the value is a null reference (Nothing in Visual Basic) or an empty string, a new status field is created on the specified list when you call PublishSubscriptionForList(WorkflowSubscription, Guid) and this property value is set to the internal name of the new field.