Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Decision Explorer is an extension for Mendix that allows users to effortlessly connect and implement decision logic and business rules created in Avola Decision.

In this tutorial, guide we will guide help you through the steps to:

  • Install and connect
    Learn how to add the Decision Explorer extension to your Mendix environment and how to connect to Avola Decision.

  • Explore and implement DecisionsDecision Services
    Learn how to implement your Avola Decision models in Mendix ensuring smooth data flow and decision execution.

Install and connect

In this section, you will learn how to install the extension and setup connection with Avola Decision.

...

  1. In the Configuration panel, enter your Client ID and Client Secret.

...

  1. Enter the Endpoint for your Avola environment.

Info

The endpoint for your Avola environment can be entered for your Test API and Production API

Test API: https://{tenant}.api.execution.test.avo.la/

Production API: https://{tenant}.api.execution.prod.avo.la/

  1. Enter the Endpoint for your Avola environment.

...

  1. Select an existing Module from your Mendix application that you want to use for implementation purposes.

  2. Click Connect.

  • On successful authorization the Explorer panel is opened and you can continue to explore and implement Avola Decision.

  • On failed authorization please check and verify that you have correct API credentials and endpoint.

Explore and implement

...

Decision Services

Info

Before you can explore and implement Decisions Decision Services you need to have an active connection. Please view the article Install and connect.

In this section, you will learn how to explore and implement Avola Decision in your Mendix app.

In the Explorer you can view details of Decision Services from Avola Decision. Please view the screenshots below.

...

Info

In order to view the decision model you are required to enter credentials for an Avola Decision user account.

Implement
In order to implement a decision service in your Mendix application follow these steps:

  1. Click on the highlighted icon next to a specific version in order to create a microflow that generates the required actions.

...

  1. Confirm and the followings assets will be created:

Info

The microflow will be created in the Module that is selected in the Configuration panel.

After confirmation the following assets will be created:

  • Folders

  • Enumerations (optionally, depending on the datatype of the input)
    These are created to make it easier to map all values for input of datatype pair or list.

  • Microflow
    This microflow can be used to call the decision service. It includes all input parameters in the corresponding datatype including.

...

  1. Call the newly created microflow and enter the required input parameters.

  2. Use the ExecutionResult returned by the microflow in order to retrieve desirable output (Final Conclusion and/or selected Conclusions).

...