Execute a Booklet Against a Logic Document

◷ Reading Time: 3 minutes

In FlexRule Designer, you can execute a Booklet against a specific Logic document. Then, you can return the results to the Booklet and Analyze them.

The binding between a Booklet as an input to a logic document should be defined via a references parameter. This can be done by creating a Scenario.

Create a Scenario

Open a Booklet document and navigate to Properties -> Scenarios

Booklet Scenarios

Create a new Scenario by clicking the following icon.

  1. Name: Name the Scenario
  2. Description: Explanation of the specific Scenario
  3. Row Name: Name of the single row of data to be referenced in the parameters binding
  4. Binding Logic Document: Select a Binding logic document.
  5. Parameters: List of names and values to be passed on a call as input parameters

Example:

Scenario example in Booklet

This parameter called “Input” will be sent to the specified binding logic document( in this example, “BookletFlow.xml”) as an input that includes data in a single booklet row at a time.

In the binding logic document, there should be an input parameter to accept the data from Booklet(in this example, “Input”) and output parameters to return the results back to Booklet (in this example, “AutoPremium”).

Booklet scenario sample binding logic document.

Run Scenario

You can run the created Scenario to analyze the data inside the Booklet.

Click the “Run Scenario” icon in the Booklet toolbar.

Then select the Scenario and click Run.

Results in Booklet

After a successful run, the respective output parameter values are found in the Booklet data in respective rows.

If you set up the Metrics Collectors, you can find the related data in the Booklet.

How to define Metrics Collectors

Updated on October 15, 2024

Was this article helpful?

Related Articles