Flow Manager

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

Flow Manager

Configuration

Set up a new instance with config parameters and set/get methods:

config.el ...

Learn about widget config here.

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:

The optional icon property is a URL of an image or a base64 string.

Flow Manager Menu

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:

Flow Manager 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:

config.options.sorting

Type: Object[] | Default: []

Create dropdown inputs with built-in sorting:

Flow Manager Sorting

Instance

Learn about widget instance here.

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:

Flow Manager Sharing

Example

Last updated

Was this helpful?