The integration between InRule Process Automation and the InRule Decision Platform allows you to leverage the power of decisions inside your Processes. To utilize this integration, you will need to configure the Execute Decision component in Process Automation to point to your execution service, add the InRule Service account to your process, then add the Execute Decision component to your process. This will allow you to execute rules and decisions inside a process.
Below is an overview of the end-to-end process for executing a decision with InRule.
This feature is only available in trials, please contact email@example.com for additional information.
Execute Decision Component Configuration
Before using the Execute Decision component in any of your processes, it must be configured with an Authorization Code and Execution Service Base URI.
To prepare for configuration, navigate to Provisioned Resources and locate the Execution resource. You will need the API Key and the URI.
Make sure to include the “APIKEY” Authorization code.
Next, configure the settings in your Process Automation Space. In Process Automation under the Space settings, click on the Business components tab in the menu on the left side.
Select the Execute Decision component from the Business components list and input the authorization code and execution service base URI from the previous step. In the next steps, you will add the Execute Decision component to a process model.
One step you will need to take is adding InRule Service account to your process. This will allow the Process Automation extension in irAuthor to retrieve information on any forms in the process and use them as entities when creating decisions. Any forms you would like to use in irAuthor must have the InRule Service Account added to the process, otherwise, the forms will not be accessible.
To add the InRule Service account to your process, open the process settings and select permissions.
Select Add new user/group and search for the “InRule Service” account. Under Permissions, select Full control. Clicking Add will add the service account to your process. See the article, Process Permissions for more information.
Adding the Execute Decision Component to your Process
The Execute Decision component can be found in the components tab of your process editor, under Services.
After dragging the component into the canvas, add the desired data object as an input to the Execute Decision component.
Then edit the component settings to point to your desired Rule App, Rule Set, or Decision. Additionally, if you wish to use notifications, you can specify the form field to which you want to output the notifications.
Using the Execute Decision component
After configuring the Execute Decision Component and adding it to your Process, you will now be able to use any of your Rule Apps, Rule Sets, or Decisions when running your process. After you start your process, your form will be sent off to the execution service, which will perform any changes and return them to Process Automation to update your form. For example, if we have a simple decision that modifies an input and writes notifications, your form may start like this:
The decision will now run and update the form accordingly.