Skip to main content

Ens.BPL.Rule

class Ens.BPL.Rule extends Ens.BPL.Activity

This class represents an invocation of a a Rule.

Property Inventory

Method Inventory

Properties

property ReasonLocation as %String;
This holds the name of the context property that will contain the reason value (i.e., which rule actually fired) returned by the Rule Engine.
Property methods: ReasonLocationDisplayToLogical(), ReasonLocationGet(), ReasonLocationIsValid(), ReasonLocationLogicalToDisplay(), ReasonLocationLogicalToOdbc(), ReasonLocationNormalize(), ReasonLocationSet()
property ResultLocation as %String;
This holds the name of the context property that will contain the return value of the rule.
Property methods: ResultLocationDisplayToLogical(), ResultLocationGet(), ResultLocationIsValid(), ResultLocationLogicalToDisplay(), ResultLocationLogicalToOdbc(), ResultLocationNormalize(), ResultLocationSet()
property Rule as %String;
This holds the name of the associated Business Rule that will be invoked.
Property methods: RuleDisplayToLogical(), RuleGet(), RuleIsValid(), RuleLogicalToDisplay(), RuleLogicalToOdbc(), RuleNormalize(), RuleSet()
property RuleContext as %String;
If provided, this is an expression (e.g., "context.myProperty") that provides the context object passed to the Rules Engine.
If not provided, the Business Process context object is passed to the Rules Engine.
Property methods: RuleContextDisplayToLogical(), RuleContextGet(), RuleContextIsValid(), RuleContextLogicalToDisplay(), RuleContextLogicalToOdbc(), RuleContextNormalize(), RuleContextSet()

Methods

method GenerateCode(pCompiler As Ens.BPL.Compiler) as %Status
method GenerateXML(pStream As %BinaryStream) as %Status
Inherited description: This generates the common XML attributes for this Activity
method Validate(ByRef pStatus As %Status, pContext As Ens.BPL.ValidationContext) as %Status
Perform a sanity check on the nodes in the parse tree

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab