Skip to content

Workflow Management

.validate()

Validates the workflow definition.

.toJSON()

Exports the workflow as JSON.

.getDefinition()

Gets the workflow definition.

.getId()

Gets the workflow ID.

.getName()

Gets the workflow name.

.getSteps()

Gets all workflow steps.

.getTriggers()

Gets all workflow triggers.

.hasWebhookTriggers()

Checks if the workflow has webhook triggers.

.hasScheduleTriggers()

Checks if the workflow has schedule triggers.

.hasManualTriggers()

Checks if the workflow has manual triggers.

.getStep(id)

Gets a specific step by ID.

.register()

Registers the workflow with the engine.

Released under the Apache 2.0 License.