Flows are acyclic directed graphs of operational flow-nodes which are composed of inputs, logic, and outputs. They are used by endpoints, which require them for their runtime functionality of taking inputs and turning them into responses when an endpoint is hit. For reference information on flow orchestration, refer to Flow Orchestration.
Add API endpoints
To import and add API endpoints and flows, refer to Manage Endpoints.
View flows
To view a flow using the API Builder GUI:
- Select the API Doc & Test tab.
- Select an API Endpoint to view the API List of endpoints. The API Lists page is displayed. Endpoints that are flow-based have a Flow icon displayed. Endpoints that are programmatically-based do not have a Flow icon display. Additionally, the method, path, nickname, description, and status of each endpoint is provided on the APIs List page.
- Select the Flow icon for the endpoint flow you want to view. The selected flow is displayed in the flow editor panel on the API Orchestration user interface.
- To exit the API Orchestration user interface and return to the API Lists page, select Cancel.
Create flows
To create a flow using the API Builder GUI:
- Import an API endpoint per the Add endpoints instructions in Manage Endpoints. Once the API endpoints are imported and the server is restarted, the imported API endpoints are displayed on the APIs List page. The imported API endpoints are disabled and each endpoint has Create Flow and Delete icons. Additionally, the method, path, nickname, description, and status of each imported endpoint is provided on the APIs List page.
- Click the Create Flow icon for an endpoint. The API Orchestration user interface is displayed and a Start flow-node is presented in the flow editor panel.
- Add flow-nodes to the flow. Refer to the Add flow-node instructions in Manage Nodes.
- Configure the flow-nodes added to the flow. Refer to the Configure flow-node instructions in Manage Nodes.
- Connect the flow-nodes in the flow. Refer to the Connect flow-nodes instructions in Manage Flows.
- When the flow is complete, click the Save button. The Flow save caution window is displayed. Note: Only valid flows can be saved.
- Select Proceed to save the flow. Select Cancel to return to the API Orchestration user interface. If Proceed is selected, the server is restarted and the flow is saved. Once the server restart is completed, the APIs List page is displayed and the flow is enabled. For flow creation examples, refer to Flow Examples.
Edit flows
To edit a flow using the API Builder GUI:
- Select the API Doc & Test tab.
- Select an API Endpoint to view the API List of endpoints. The API Lists page is displayed.
- Select the Flow icon for the API endpoint flow to edit. The selected flow is displayed in the flow editor panel on the API Orchestration user interface.
- Make the required edits to the flow. For instructions on adding, configuring, and connecting flow-nodes or disconnecting and deleting flow-nodes, refer to Manage Nodes.
- Once the flow edits are completed, click the Save button. The Flow save caution window is displayed.
- Select Proceed to save the flow. Select Cancel to return to the API Orchestration user interface. If Proceed is selected, the server is restarted and the flow is saved. Once the server restart is completed, the APIs List page is displayed.
Delete flows
To delete a flow using the API Builder GUI:
- Select the API Doc & Test tab.
- Select an API Endpoint to view the API List of endpoints. The API Lists page is displayed.
- Select the Delete icon for the API endpoint to delete. The Endpoint delete caution window
is displayed.
- Select Proceed to the delete the selected API endpoint. Select Cancel to return to the APIs List page. If Proceed is selected, the endpoint and any associated flow are deleted and the server is restarted. Once the server restart is completed, the APIs List page is displayed.