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.options
Type: Object | Default: DefaultOptions
config.options.menu
Type: Object[] | Default: []
Add a dropdown menu input to each flows to trigger built-in and custom events:

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

config.options.customFilter
Type: 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:
In Appmixer 6, the FlowManager widget is meant to display Automations only. These are regular flows, not the Integrations. This can be overwritten with the customFilter:
config.options.sorting
Type: Object[] | Default: []
Create dropdown inputs with built-in sorting:

Instance
State
loader
Type: Boolean | Default: null
Toggle a custom loading state.
error
Type: String | Default: null
Toggle a custom error message.
layout
Type: String | Default: grid
Change layout of the widget.
query
Type: Object | Default: DefaultQuery
Set custom query parameters.
Events
flow:open
Select a flow to open in Designer widget.
flow:create
Click Create Flow button.
flow:start
Toggle flow stage button.
flow:stop
Toggle flow stage button.
flow:clone
Click menu item to clone a flow.
flow:share
Click menu item to open sharing of a flow.
flow:rename
Click menu item to rename flow.
flow:remove
Click menu item to remove a flow.
Sharing
Add menu item with flow:share event for a configurable flow sharing dialog:

Example
Was this helpful?
