Instantiating a workflow
It is not sufficient to create a workflow. Generally, you want to do something moderately useful with it. To perform work, you must instantiate your workflow and call it somehow.
Suppose, for example, that you create
a new workflow and call it, for lack of a better name, HelloWorld1. You can then instantiate
your workflow using the following Gosu:
var workflow = new HelloWorld1()
workflow.start()
Starting a workflow
There are multiple workflow start methods. The following list describes them.
|
Starts the workflow. |
|
Starts the workflow with the specified process version. |
|
Starts the workflow asynchronously. |
|
Starts the workflow with the specified process version asynchronously. |
See also
Logging workflow actions
There are several different Gosu statements that you can use to view workflow-related information.
|
Statement written to the application server log |
|
Statements viewable in the PolicyCenterWorkflow console |
See Also
