It is possible to configure the automation of your processes with non-native functionalities by writing instructions to artificial intelligence.
Follow these steps to complete this configuration:
- Go to the process editor.
- Click on the “Visualization Mode” icon.
- Click on “Artificial Intelligence”.
- Go to the “Prompts” tab. On this page you will find all the instructions created in your environment.
- Click on the “+” to create an instruction
- Give this instruction a name. Write the purpose of this as clearly as possible in the “Prompt” tab. You will find the programming script generated by artificial intelligence in the “Code preview” tab.
- Click “Confirm” to create the instruction.
You must now use this in your process configuration to be able to use it. You can use a prompt to:
- Update a form with the press of a button.
- Trigger actions during process execution.
If you want to update a form using a button, then follow these steps:
- Go to the process editor.
- Double click on the desired form to edit it.
- Click on this icon to add a button.
- Click the pencil icon to edit this button.
- In the “Action” field choose “Call API”.
- Click the “Trigger” button.
- Choose the “Artificial Intelligence” option in the “Type of customization” field.
- Select the desired prompt.
- Click “Confirm” to validate the trigger and once again to save the form.
When executing a work item, HEFLO will trigger the created prompt when the user presses the button.
If you want to trigger actions when the process runs, then follow these steps:
- Go to the process editor.
- Choose the desired sequence flow.
- Go to the properties and the “Execution” section.
- Click the “Execution” button.
- Choose the “Artificial Intelligence” option in the “Type of customization” field.
- Select the desired prompt.
- Click “Confirm” to validate the configuration.
When executing a work item, HEFLO will automatically follow the associated prompt when the instance arrives at that level of the process.
You can also create commands to trigger work item execution actions. To find out more: Create commands to execute work items.