Create and embed flow components
For more context on what flow components are used for, see Understand flow components.
Create a component
From a flowchart
- Click the "SELECT MULTIPLE" button in the left toolbar to enter multiple select mode.
- Click and drag a selection box around the steps you want to make into a component. They will be outlined in red.
- Click the "CREATE A COMPONENT" button in the left toolbar just under the "SELECT MULTIPLE" button. This will open the "New component from selection" dialog.
- Enter a name for the component.
- Click CREATE. The selected steps will be collapsed into a component.
From a checkflow
Create a group
In checkflows, components can only be created from groups. The process for creating a group is the same as described in Create groups and conditions - Create a group, so if you've already done that you can skip to Convert the group into a component.
- Click the "SELECT MULTIPLE" button in the left toolbar to enter multiple select mode.
- Click and drag a selection box around the symptoms you want to group. They will be highlighted in blue.
- Click the "CREATE A GROUP" button in the left toolbar just under the "SELECT MULTIPLE" button. This will create a group from the selected symptoms and place your cursor in the group name box.
- Enter a name for the group.
- You can edit the name later by clicking the pencil icon in the group's top-right corner to open the edit panel.
Convert the group into a component
- Click the pencil icon in the group's top-right corner to open the edit panel.
- Click "CONVERT INTO COMPONENT". The selected group will be collapsed into a component.
Update a component
From within a flowchart
- Click the collapsed component to open the edit panel.
- The component can be renamed directly in the edit panel.
- For other updates, click "EDIT MODEL". This opens the component itself within the assistant builder.
- Make whatever changes are desired to the flow as normal.
- To return to the parent flow, click its name in the top left corner.
- When finished, click "PUBLISH" in the top right toolbar to save your changes.
From within a checkflow
- Double-click the component title.
- This opens the component itself within the assistant builder. You can make changes to the flow as normal.
- To rename the component, click the "COMPONENT SETTINGS" button with the gear icon next to the component name in the top left.
- This opens the component settings panel where you can update the name as desired.
- To return to the parent flow, click its name in the top left corner.
- When finished, click "PUBLISH" in the top right toolbar to save your changes.
Embed a component in a flow
Note that flowcharts can contain either flowchart components or checkflow components but that checkflows can only contain checkflow components.
- Open the flow in which you'd like to embed a component.
- Click the "INCLUDE A COMPONENT" button in the left toolbar.
- Select the component you'd like to embed from the list.
- The component is added to the canvas.
- Connect the component to the rest of the flow as desired.
- Click "PUBLISH" in the top right toolbar to save your changes.
Make a checkflow component searchable within a flowchart
By default, the contents of checkflow components embedded in flowcharts will not come up as matches for free text searches performed within the flowchart. If desired, you can change this behavior for specific components.
- Click the checkflow component to open the edit panel.
- Check the "Contents searchable" box below the component name.
- Click "PUBLISH" in the top right toolbar to save your changes.