Calling Decisions from Process Automation using the Execute Decision Component

  • Updated

This article covers the steps to configure and use the Execute Decision Component in your Process Automation process models. 

Configuring the Execute Decision component

To prepare for configuration, first 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.

Execution__1_.png

Execution__2_.png

Next, configure the settings in your Process Automation Space. In Process Automation under the space settings, 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.   

PA_SpaceSettings_ExecuteDecision.png

Process Model Setup

Ensure an API Key exists for your space, which can be found in the integration section of the space settings. This will be used when configuring your process automation environment in irAuthor

blobid2.png


Adding the Execute Decision Component to your Process

Find the Execute Decision component in the Components tab of your process editor under the list of Services.

blobid3.png

Drag the component into the process and add the desired data object as an input to the Execute Decision component.

Any forms and corresponding data objects used as rule or decision inputs with the Execute Decision component will need to be added as entities in irAuthor. Information on adding Process Automation forms to irAuthor can be found in the Using the Barium Live extension for irAuthor article.

 

blobid5.png 

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 the notifications will be written to.

blobid6.png

Using the Execute Decision component

Once the Execute Decision component has been configured and added to a process model, it can call a Rule Set or Decision when executed. After starting a process, the form data will be sent to the execution service, which will perform any changes and return them to Process Automation to update the form. For example, in a rule application that contains a simple decision that modifies input and writes notifications, the form may start like this:

blobid7.png

When the decision is executed, the form will be updated accordingly. Below is an example of the form displaying the output from the Execute Decision component after the process has completed.

 

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.