Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Pauses the workflow until a document is in a specific status.
Namespace: Microsoft.SharePoint.WorkflowActions.WithKey
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Protected Overrides Function Execute ( _
executionContext As ActivityExecutionContext _
) As ActivityExecutionStatus
'Usage
Dim executionContext As ActivityExecutionContext
Dim returnValue As ActivityExecutionStatus
returnValue = Me.Execute(executionContext)
protected override ActivityExecutionStatus Execute(
ActivityExecutionContext executionContext
)
Parameters
executionContext
Type: System.Workflow.ComponentModel.ActivityExecutionContextA workflow context associated with the activity.
Return Value
Type: System.Workflow.ComponentModel.ActivityExecutionStatus
The status of the activity.
Remarks
The workflow runtime calls this override to pause the workflow until the specified document is in the specified status.
This override pauses the workflow until the document specified by the __ListItem property is in the status specified by the DocumentStatus property. If the document has the desired status, this override returns Closed, otherwise it returns Executing.
See Also
Reference
WaitForDocumentStatusActivity Class