Skip to main content

Ens.Rule.Assign

persistent class Ens.Rule.Assign extends Ens.Rule.Action

SQL Table Name: Ens_Rule.Assign

Implements the Assign Action for Rules.

Property Inventory

Method Inventory

Properties

property Property as %String (MAXLEN = 128, XMLNAME = "property", XMLPROJECTION = "ATTRIBUTE");
Name of context Property to assign value into.
Property methods: PropertyDisplayToLogical(), PropertyGet(), PropertyGetStored(), PropertyIsValid(), PropertyLogicalToDisplay(), PropertyLogicalToOdbc(), PropertyNormalize(), PropertySet()
property Value as %String (MAXLEN = 128, XMLNAME = "value", XMLPROJECTION = "ATTRIBUTE") [ SqlFieldName = AssignValue ];
Value that is to be assigned.
Property methods: ValueDisplayToLogical(), ValueGet(), ValueGetStored(), ValueIsValid(), ValueLogicalToDisplay(), ValueLogicalToOdbc(), ValueNormalize(), ValueSet()

Methods

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

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: CacheStorage (Ens.Rule.Action)

{%%PARENT}("Actions")(ID)
=
%%CLASSNAME

Storage Model: CacheStorage (Ens.Rule.Assign)

{%%PARENT}("Actions")(ID,"Assign")
=
Property
Value
FeedbackOpens in a new tab