Add FlowGenie in a Process

Permissions

Your user account or group membership must have the following permissions to configure a FlowGenie element in the Process model unless your user account has the Make this user a Super Admin setting selected:

  • Processes: Edit Processes

  • Processes: View Processes

See the Process permissions or ask your Administrator for assistance.

Add a FlowGenie to a Process

Add a FlowGenie object from one of the following locations in Process Modeler:

  • Object menu: The Object menu is to the left of the Process Modeler canvas and contains modeling objects and PM Blocks which may be added to the Process model.

  • Objects bar: The Objects bar is at the bottom of the Process Modeler canvas. This bar contains pinned Process model objects which are easily accessible for adding to the Process model.

Follow these steps to add a FlowGenie from the Object menu to the Process model:

Configure a FlowGenie

Follow these steps to configure a FlowGenie:

  1. In the Genie Name setting, enter a name for this object.

  2. In the Variable Mapping section, configure the input and output setting for the FlowGenie.

  3. In the Genie Output section, select a Response Format for the Genie's response. Choose from one of these options:

    • Text: Use this option to get the response as plain text.

    • JSON: Use this option to get the response formatted as a JSON object.

    • Table: Use this option to get the response formatted as an HTML table.

  4. Click Preview to access the FlowGenie Studio. Here, you can test and preview the Genie's response, as well as adjust the configuration as necessary.

FlowGenie Studio

The FlowGenie Studio provides an interface to preview, test and adjust Genie configurations. Follow these steps to use the Studio:

  1. In the Prompt setting, enter a new prompt or edit the current one.

  2. From the Response Format setting, select one of the available formats.

    • Text: Use this option to get the response as plain text.

    • JSON: Use this option to get the response formatted as a JSON object.

    • Table: Use this option to get the response formatted as an HTML table.

  3. In the Test Data setting, input data in JSON format for the Genie to utilize in executing the task outlined in the prompt.

  4. Select the Include File settings to upload a file for processing, and use the Browse button to upload the file.

  5. Click Run to test the FlowGenie. The response generated by the Genie will be displayed in the Response section.

  6. Click Ok to save the FlowGenie configuration, otherwise click Cancel.

Last updated

© Copyright 2000-2024 ProcessMaker Inc. All rights reserved.