Deprecated. This function is being discontinued in the upcoming months. We are working to provide alternatives, and we'll provide timely updates before implementing any changes. We understand that this transition might present challenges, and we appreciate your patience and understanding.
Creates a new workflow.
The createWorkflow()
function returns a Promise that resolves to the created workflow
ID.
Workflow to create.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.