Workflow.commit()
The .commit() method re-initializes the workflow's state machine with the current step configuration.
UsageDirect link to Usage
workflow.step(stepA).then(stepB).commit();
ReturnsDirect link to Returns
workflow:
LegacyWorkflow
The workflow instance