WorkflowHostStartWorkflow Method |
Start a workflow based on data in the wzp_workflow_instance table
Namespace: Scanjour.Workflow4.HostAssembly: Scanjour.Workflow4.Host (in Scanjour.Workflow4.Host.dll) Version: 24.5.0.0 (24.5.0.0)
Syntaxpublic Guid StartWorkflow(
Uri oDataUri,
string onBehalfOfUser,
string rowId,
SecurityContext securityContext = SecurityContext.User
)
Public Function StartWorkflow (
oDataUri As Uri,
onBehalfOfUser As String,
rowId As String,
Optional securityContext As SecurityContext = SecurityContext.User
) As Guid
public:
Guid StartWorkflow(
Uri^ oDataUri,
String^ onBehalfOfUser,
String^ rowId,
SecurityContext securityContext = SecurityContext::User
)
member StartWorkflow :
oDataUri : Uri *
onBehalfOfUser : string *
rowId : string *
?securityContext : SecurityContext
(* Defaults:
let _securityContext = defaultArg securityContext SecurityContext.User
*)
-> Guid
Parameters
- oDataUri Uri
- The Odata Uri.
- onBehalfOfUser String
- The user who is to start the workflow.
- rowId String
- The ID for the workflow instance to start
- securityContext SecurityContext (Optional)
- Security context with default user context.
Return Value
GuidInstance identification for the created workflow
See Also