Skip to Content

Workflow.commit()

The .commit() method finalizes the workflow and returns the final result.

Usage

workflow.then(stepOne).commit();

Returns

workflow:

NewWorkflow
The workflow instance for method chaining