ReferenceWorkflows.commit()Workflow.commit() The .commit() method finalizes the workflow and returns the final result. Usage example workflow.then(step1).commit(); Returns workflow:WorkflowThe workflow instance for method chaining Related Control flow .parallel().dowhile()