WorkflowDefinition members

Represents a SharePoint workflow definition and encapsulates the workflow properties.

The WorkflowDefinition type exposes the following members.

Constructors

  Name Description
Public method WorkflowDefinition() Initializes a new instance of the WorkflowDefinition class.
Public method WorkflowDefinition(Func<TResult>) Initializes a new instance of the WorkflowDefinition class.

Top

Properties

  Name Description
Public property AssociationUrl The URL of the association form for the workflow.
Public property Description Gets or sets the workflow definition description that is displayed to users.
Public property DisplayName Gets or sets the workflow definition display name, which is displayed to users.
Public property DraftVersion Gets or sets a value representing the draft version of the workflow definition.
Public property FormField Gets or sets a FieldML string that defines the fields of the workflow's initiation and association forms.
Public property Id Gets or sets the Guid identifier for the workflow definition.
Public property InitiationUrl The URL of the initiation form for the workflow.
Public property Properties Gets the custom properties associated with the workflow definition.
Public property Published Boolean value that specifies whether the workflow definition has been published to the cloud or remains locally, saved to the SharePoint server.
Public property RequiresAssociationForm Gets or sets a Boolean value indicating whether an association form should be automatically generated for the workflow.
Public property RequiresInitiationForm Gets or sets a Boolean value indicating whether an initiation form should be automatically generated for the workflow.
Public property RestrictToScope Gets or sets a value that limits the scope of the workflow definition. The property value is a guid value that is used in conjunction with the RestrictToType property to further restrict the scope of the workflow definition.
Public property RestrictToType Gets or sets a value that limits the available event source type for a workflow subscription that is using the specified workflow definition.
Public property UpdatedProperties Gets only the properties that have been explicitly updated.
Public property Xaml Gets or sets the XAML representation of the workflow definition.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetProperties This member is reserved for internal use and is not intended to be used directly from your code.
Public method SetProperty This member is reserved for internal use and is not intended to be used directly from your code.
Public method ToString (Inherited from Object.)

Top

See also

Reference

WorkflowDefinition class

Microsoft.SharePoint.WorkflowServices namespace