You are here

startWorkflow

The startWorkflow() methods create and start a new workflow instance of the workflow definition type.

startWorkflow(properties)

startWorkflow(properties) this method creates and starts a new workflow instance of the workflow definition's type.

Parameters

properties
If not of type ScriptableObject, the properties parameter will be ignored

Returns

Returns the workflow path (JscriptWorkflowPath) for the created instance. This method does not set a package container.

startWorkflow(workflowPackage, properties)

startWorkflow(properties) this method creates and starts a new workflow instance of the workflow definition's type.

Parameters

workflowPackage
Workflow package node to attach to the new workflow.
properties
If not of type ScriptableObject, the properties parameter will be ignored

Returns

Returns the workflow path (JscriptWorkflowPath) for the created instance.

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.