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:
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.
Click the location in the Process model to place this element. Follow these guidelines when placing this element:
Optionally place this element between two existing Process model objects already connected with a Sequence Flow element. See Place an Object Between Two Process Model Objects Already Connected with a Sequence Flow Element.
Follow these steps to add a FlowGenie object from the Object bar to the Process model:
Ensure that the object is pinned to the Object bar. If not, pin it.
In the Object bar at the bottom center, click the object's icon. This object's icon displays adjacent to the mouse icon to indicate this FlowGenie may be placed into the Process model.
Click the location in the Process model to place this object. Follow these guidelines when placing this element:
Optionally place this element between two existing Process model objects already connected with a Sequence Flow element. See Place an Object Between Two Process Model Objects Already Connected with a Sequence Flow Element.
Follow these steps to configure a FlowGenie:
In the Genie Name setting, enter a name for this object.
In the Variable Mapping section, configure the input and output setting for the FlowGenie.
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.
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.
The FlowGenie Studio provides an interface to preview, test and adjust Genie configurations. Follow these steps to use the Studio:
In the Prompt setting, enter a new prompt or edit the current one.
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.
In the Test Data setting, input data in JSON format for the Genie to utilize in executing the task outlined in the prompt.
Select the Include File settings to upload a file for processing, and use the Browse button to upload the file.
Click Run to test the FlowGenie. The response generated by the Genie will be displayed in the Response section.
Click Ok to save the FlowGenie configuration, otherwise click Cancel.
Ensure that the Object panel is visible. If not, click the Add icon from the Object bar at the bottom.
Object Category: The FlowGenie object appears in the Object Category section when it is not pinned.
If a Pool element is in your Process model, the FlowGenie element cannot be placed outside of the Pool element.
If a Pool element is in your Process model, the FlowGenie element cannot be placed outside of the Pool element.
Select the object from the Process Model, then click the Show Configuration button in the upper right corner of the Modeler to view the Configuration panel.
In the Prompt setting, enter a prompt for the FlowGenie to use. Case data can be used in prompts through mustache syntax.
In the Genie Input section, optionally select the Input File option to provide a file for the Genie to process.
In the Output Variable Name setting, use mustache syntax to specify a request variable for storing the response returned by the Genie. This variable can then be referenced elsewhere in the process to utilize the Genie's response.