Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [Ens] >  [Rule] >  [Router] >  [Action]
Private  Storage   

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

SQL Table Name: RuleAction

Represents an Action associated with a Rule within a MsgRouter rule.


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 5 1 1


ActionNo Rule Target Transform Type

%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject GetTypeList
XMLDTD XMLExport XMLExportToStream XMLExportToString
XMLNew XMLSchema XMLSchemaNamespace XMLSchemaType


• 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.ActionC("ActionNo")) ];
• relationship Rule as Ens.Rule.Router.Rule [ Inverse = Actions,Cardinality = parent ];
Parent Rule.
• property Target as %String(MAXLEN="",XMLNAME="target",XMLPROJECTION="attribute");
Name of target (host name) to send the message to if this action is fired Type is "send".
• property Transform as %String(MAXLEN="",XMLNAME="transform",XMLPROJECTION="attribute");
If defined, name of data transformation used for this message if this action is fired Type is "send".
• property Type as %String(MAXLEN=50,VALUELIST=",send,delete,stop,contin,delegate",XMLNAME="type",XMLPROJECTION="attribute") [ InitialExpression = "AND",Required ];
What type of action this is. The possible values are:
send Send the message to a target and, if defined, apply a transformation (before sending).
delete Delete the message.
delegate Forward the message to a different rule for processing.


• classmethod GetTypeList() as %String
Called by U.I. to get list of action types.


•index (ID on ActionNo) [IdKey];
Make sure actions are ordered correctly

Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.