Skip to Content

Workflow.commit()

The .commit() method re-initializes the workflow’s state machine with the current step configuration.

Usage

workflow .step(stepA) .then(stepB) .commit();

Returns

workflow:

Workflow
The workflow instance