Validate a workflow configuration before saving
Name | Type | Description |
---|---|---|
listener | function | called on validation. Return false to indicate that validation has not passed and the workflow cannot be saved. |
Attach a callback function to run when a workflow is saved
Name | Type | Description |
---|---|---|
listener | function | called on save. |
Save a workflow configuration if valid.
WorkflowConfigurationTriggerResponse
An object Containing {valid, value}
properties.valid (the result of the validation listener) and value (result of onSave listener) properties.
Rate this page: