Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Overview

Allows to perform script operations using predefined decision tables.

const $Decisions;

Remarks

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'
});
  • No labels