SP.WorkflowServices.WorkflowSubscription.statusFieldName property (sp.workflowservices)
Gets or sets the name of the workflow status field on the specified list.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.WorkflowServices.WorkflowSubscription.get_statusFieldName()
SP.WorkflowServices.WorkflowSubscription.set_statusFieldName(value)
Return value
Returns the name of the status field.
Remarks
This property is only used on List workflows. If the value is a null reference or an empty string, a new status field is created on the specified list when you call PublishSubscriptionForList and this property value is set to the internal name of the new field.