Using callable flows in workflows

Callable flows in workflows enable modular, reusable integration logic that simplifies complex processes and enhances maintainability across environments.

Before you begin

Make sure that the callable flows you want to add in the workflows are available. If not, add them. For more information, see Adding callable flows.

Procedure

  1. In the Projects page, select a project in which you want to create workflow.
    The Workflow page is displayed.
  2. Click Add and click Create new workflow.
    The workflow canvas is displayed with just the Start and Stop actions.
  3. Click the Edit icon before Untitled Workflow to rename the workflow.
    The Edit Workflow Name dialog is displayed.
  4. Enter the name of the workflow in the Workflow Name field.
  5. Click Done.
    The workflow canvas is displayed.
  6. In the Connectors panel, go to Services > App Connect.
    All callable flows added to this project are listed.
    Note: If you do not find the callable flow, you can add them by clicking Add.
  7. Drag-and-drop the callable flow that you want to use on to the canvas.
    The callable flow automatically gets connected to the Start action.
    Note: If the workflow has any other actions, then the callable flow automatically gets connected to the nearest action.
  8. Hover on the callable flow and click the Settings icon.
    The Settings dialog is displayed.
  9. Optional: Enter a name for the callable flow in the Name field and click Next.
    The Incoming Data and Action Configure page is displayed.
  10. In the Action configure section, provide the action details.

    The latest callable flow definitions are retrieved from App Connect directly. If the same callable flow is available across multiple app connect runtimes, then your integration might not work as expected. Make sure either the issues are fixed or the callable flows are standardized to the same version to avoid conflicts.

  11. Map the incoming data with the actions.
  12. Click Next.
    The Test this action page is displayed.
  13. Click Test.
  14. If the output is as expected, click Done.
    Otherwise, you can return to the previous page to correct the actions and retest until you achieve the wanted output.
    The workflow canvas is displayed.
  15. Connect this callable flow to the next action or Stop action.
    Make sure that the last action in your workflow is Stop.
  16. Save and run the workflow.

Results

You created a workflow by using callable flows.

What to do next

  • You can publish and deploy the workflow to another environment.
  • You can import or export workflows from one project to another in the same environment.
    Note: The App Connect assets are not published or exported. Add them in the destination environment. To use the workflow, you must configure the callable flows in the destination environment.
  • You can use the workflows in REST APIs.
  • You can monitor the workflow executions from the Monitor page.