$Decisions

Overview

Allows to perform script operations using predefined decision tables.

const $Decisions;

Use $Decisions.Parse method to parse a decision table xml to be able to evaluate your data on that decision table. A decision table xml can be stored anywhere, for example in your form XML, SQL database or XML repository. When called, this method returns an evaluation function for you to evaluate your data.$Decisions also provides a process decision models to execute.

Example

Calling a decision model. Output content may vary depending on the decision model outputs.

var output = $Decisions.MyModel.MyDecision({ myInput: 'myValue' myInput2: 'myValue2' });

Copyright © 2010 - 2023 Emakin. All rights reserved.