Add FlowGenie in a Process

Add a FlowGenie to 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 object from one of the following locations in Process Modeler:

  • Object Panel: Located to the left of the Process Modeler canvas, the Object Panel contains various process model objects.

  • Object Bar: Located at the bottom of the Process Modeler canvas, the Object Bar contains pinned Process model objects, which are easy accessible.

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

  1. Click the FlowGenie object from one of the following sections:

    • Pinned Objects: The FlowGenie object appears in the Pinned Objects section when it is pinned.

  2. Click the location in the Process model to place this element. Follow these guidelines when placing this element:

Add boundary events

After adding the Object Element, consider adding the following Boundary-type Process model elements to design business solutions when your best-case scenarios don't happen:

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

Logo

© 2024 ProcessMaker, Inc. All Rights Reserved. Except as otherwise permitted by ProcessMaker, this publication, or parts thereof, may not be reproduced in any form, by any method, for any purpose.