TaskflowWebService.ExitTask Method
Cancels the running workflow instance with the specified parentId and marks the task as complete.
Namespace: OBA.Server.Taskflow
Assembly: OBA.Server.Taskflow (in OBA.Server.Taskflow.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Sub ExitTask ( _
rootSiteUrl As String, _
parentId As String, _
reason As String _
)
'Usage
Dim instance As TaskflowWebService
Dim rootSiteUrl As String
Dim parentId As String
Dim reason As String
instance.ExitTask(rootSiteUrl, parentId, _
reason)
[WebMethodAttribute]
public void ExitTask(
string rootSiteUrl,
string parentId,
string reason
)
Parameters
rootSiteUrl
Type: System.StringSpecifies the root site URL.
parentId
Type: System.StringSpecifies the parentId of the workflow instance to be canceled.
reason
Type: System.StringA string representing the reason for the cancelation.