Flow Manager
Browse and manipulate flows that are accessible to the current user.

Configuration
Set up a new instance with config parameters and set/get methods:
config.el ...
config.el ...config.options
config.optionsType: Object | Default: DefaultOptions
config.options.menu
config.options.menuType: Object[] | Default: []
Add a dropdown menu input to each flows to trigger built-in and custom events:

config.options.shareTypes
config.options.shareTypesType: Object | Default: DefaultShareTypes
Override default sharing dialog types.
config.options.sharePermissions
config.options.sharePermissionsType: Object[] | Default: DefaultSharePermissions
Override default sharing dialog permissions.
config.options.filters
config.options.filtersType: Object[] | Default: []
Create dropdown inputs with built-in query filters:

config.options.customFilter
config.options.customFilterType: Object | Default: {}
Filter the flows with additional parameters:
This is especially useful in connection with customFields metadata to display multiple different Flow Managers each listing a different category of flows:
config.options.sorting
config.options.sortingType: Object[] | Default: []
Create dropdown inputs with built-in sorting:

Instance
State
loader
loaderType: Boolean | Default: null
Toggle a custom loading state.
error
errorType: String | Default: null
Toggle a custom error message.
layout
layoutType: String | Default: grid
Change layout of the widget.
query
queryType: Object | Default: DefaultQuery
Set custom query parameters.
Events
flow:open
flow:openSelect a flow to open in Designer widget.
flow:create
flow:createClick Create Flow button.
flow:start
flow:startToggle flow stage button.
flow:stop
flow:stopToggle flow stage button.
flow:clone
flow:cloneClick menu item to clone a flow.
flow:share
flow:shareClick menu item to open sharing of a flow.
flow:rename
flow:renameClick menu item to rename flow.
flow:remove
flow:removeClick menu item to remove a flow.
Sharing
Add menu item with flow:share event for a configurable flow sharing dialog:

Example
Last updated
Was this helpful?
