Skip to main content


persistent class Ens.Rule.Action extends %Library.Persistent, %XML.Adaptor

SQL Table Name: Ens_Rule.RuleAction

Defines an Action associated with a specific Rule within a RuleSet. Actual Actions are defined by subclasses.

Property Inventory

Method Inventory


parameter XMLIGNORENULL = 1;
Ensure that we don't get $C(0) for values that are empty strings


property ActionNo as %Integer (XMLPROJECTION = "NONE") [ InitialExpression = $I(^Ens.Rule.RuleC("ActionNo")) , Required ];
Property methods: ActionNoDisplayToLogical(), ActionNoGet(), ActionNoGetStored(), ActionNoIsValid(), ActionNoLogicalToDisplay(), ActionNoNormalize(), ActionNoSet(), ActionNoXSDToLogical()
relationship Rule as Ens.Rule.Rule [ Required , Inverse = Actions , Cardinality = parent ];
Parent Rule.
Property methods: RuleGet(), RuleGetObject(), RuleGetObjectId(), RuleGetStored(), RuleGetSwizzled(), RuleIsValid(), RuleNewObject(), RuleOnDelete(), RuleRClose(), RuleRExec(), RuleRFetch(), RuleRelate(), RuleSQLCompute(), RuleSet(), RuleSetObject(), RuleSetObjectId(), RuleUnRelate(), RuleUnSwizzle()


method Execute(pRule As Rule, pRuleSet As RuleDefinition, pContext As %RegisteredObject) as %Status
Execute this Action.
method GenerateCode(pCompiler As Compiler, pActionNo As %Integer, pPad As %String = " ") as %Status
Generate code for this action


index (ID on ActionNo) [IdKey, Type = key];
Make sure actions are ordered correctly
Index methods: IDCheck(), IDDelete(), IDExists(), IDOpen(), IDSQLCheckUnique(), IDSQLExists(), IDSQLFindPKeyByConstraint(), IDSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods


Storage Model: Storage (Ens.Rule.Action)



FeedbackOpens in a new tab