Ens.BPL.Rule

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

This class represents an invocation of a a Rule.

Property Inventory (Including Private)

Method Inventory (Including Private)

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: RuleContextDisplayToLogical(), RuleContextGet(), RuleContextIsValid(), RuleContextLogicalToDisplay(), RuleContextLogicalToOdbc(), RuleContextNormalize(), RuleContextSet(), 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 [ Language = objectscript ]
method GenerateXML(pStream As %BinaryStream) as %Status [ Language = objectscript ]
Inherited description: This generates the common XML attributes for this Activity
method Validate(ByRef pStatus As %Status, pContext As Ens.BPL.ValidationContext) as %Status [ Language = objectscript ]
Perform a sanity check on the nodes in the parse tree
private method activityName() as %String [ Language = objectscript ]
Provide a user readable string which names the activity

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Feedback