Designer
Build, edit and inspect individual flows in a comprehensive editor.

Configuration
Set up a new instance with config parameters and set/get methods:
config.el ...
config.el ...config.flowId
config.flowIdType: String | Default: null
ID of a flow that is opened in the editor.
config.componentId
config.componentIdType: String | Default: null
ID of a component that is opened in the editor.
config.shareTypes
config.shareTypesType: Object | Default: DefaultShareTypes
Override default sharing dialog types.
config.sharePermissions
config.sharePermissionsType: Object[] | Default: DefaultSharePermissions
Override default sharing dialog permissions.
config.options.showHeader
config.options.showHeaderType: Boolean | Default: true
Toggle visibility of the header.
config.options.menu
config.options.menuType: Object[] | Default: []
Add a dropdown menu input to trigger built-in and custom events:
config.options.toolbar
config.options.toolbarType: Array[] | Default: []
Add a toolbar with groups of built-in and custom buttons:
config.options.autoOpenLogs
config.options.autoOpenLogsType: Boolean | Default: true
Automatically open logs view when the flow is running.
config.options.triggerSelector
config.options.triggerSelectorType: Object | Default: null
Automatically open trigger selector dialog when the flow has no trigger.
Instance
State
loader
loaderType: Boolean | Default: null
Toggle a custom loading state.
error
errorType: String | Default: null
Toggle a custom error message.
Events
flow:start
flow:startToggle stage button to start the flow.
flow:stop
flow:stopToggle stage button to stop the flow.
flow:share
flow:shareClick menu item to open sharing of the flow.
flow:rename
flow:renameClick menu item to rename the flow.
flow:export-svg
flow:export-svgClick menu item to export diagram of the flow to SVG.
flow:export-png
flow:export-pngClick menu item to export diagram of the flow to PNG.
flow:print
flow:printClick menu item to print diagram of the flow.
flow:validation
flow:validationAn event containing an array with flow validation errors. If the array is empty, there are no validation errors in the flow.
flow:wizard-builder
flow:wizard-builderClick menu item to open a wizard builder dialog.
component:add
component:addAdd a new component to the flow.
component:open
component:openOpen component inspector.
component:close
component:closeClose component inspector.
component:rename
component:renameRename a component.
component:update-type
component:update-typeUse selection input to change component type.
navigate:validation
navigate:validationClick a button to show validation errors.
Example
Last updated
Was this helpful?
