TaskflowManager.EnlistTask Method

Instantiates a new site for a preconfigured workflow type and ensures that new task requests are routed to this site.

Namespace:  OBA.Server.Taskflow
Assembly:  OBA.Server.Taskflow (in OBA.Server.Taskflow.dll)

Syntax

'Declaration
Public Shared Function EnlistTask ( _
    taskflowRootWebUrl As String, _
    taskSiteTemplate As String, _
    effectiveDate As DateTime, _
    endPoint As TaskParentEndPoint _
) As String
'Usage
Dim taskflowRootWebUrl As String
Dim taskSiteTemplate As String
Dim effectiveDate As DateTime
Dim endPoint As TaskParentEndPoint
Dim returnValue As String

returnValue = TaskflowManager.EnlistTask(taskflowRootWebUrl, _
    taskSiteTemplate, effectiveDate, _
    endPoint)
public static string EnlistTask(
    string taskflowRootWebUrl,
    string taskSiteTemplate,
    DateTime effectiveDate,
    TaskParentEndPoint endPoint
)

Parameters

  • taskflowRootWebUrl
    Type: System.String

    Specifies the root web URL for the Taskflow.

  • taskSiteTemplate
    Type: System.String

    Specifies the task site template id.

  • effectiveDate
    Type: System.DateTime

    Specifies the DateTime object that specifies when the workspace becomes active.

Return Value

Type: System.String

Remarks

Returns URL of the new workspace.

See Also

Reference

TaskflowManager Class

TaskflowManager Members

OBA.Server.Taskflow Namespace