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.StringSpecifies the root web URL for the Taskflow.
taskSiteTemplate
Type: System.StringSpecifies the task site template id.
effectiveDate
Type: System.DateTimeSpecifies the DateTime object that specifies when the workspace becomes active.
endPoint
Type: OBA.Server.Taskflow.TaskParentEndPointSpecifies the BDC endpoint.
Return Value
Type: System.String
Remarks
Returns URL of the new workspace.