WorkflowDefinition.RequiresInitiationForm property

Gets or sets a Boolean value indicating whether an initiation form should be automatically generated for the workflow.

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

Syntax

'Declaration
<ClientCallablePropertyAttribute> _
Public Property RequiresInitiationForm As Boolean
    Get
    Set
'Usage
Dim instance As WorkflowDefinition
Dim value As Boolean

value = instance.RequiresInitiationForm

instance.RequiresInitiationForm = value
[ClientCallablePropertyAttribute]
public bool RequiresInitiationForm { get; set; }

Property value

Type: System.Boolean
Returns true if an initiation form is required. Otherwise returns false. The default is false.

Remarks

If set to true, and the InitiationUrl property value is not already set, a default initiation form is automatically generated for the workflow when SaveDefinition(WorkflowDefinition) is called.

See also

Reference

WorkflowDefinition class

WorkflowDefinition members

Microsoft.SharePoint.WorkflowServices namespace