Usage of propagate tag in CIM rulebase constraints
book
Article ID: KB0087002
calendar_today
Updated On:
Products
Versions
TIBCO Collaborative Information Manager
-
Not Applicable
-
Description
Resolution: The propagate tag can be used in rulebase constraints to propagate changes to other records. The propagate tag can be of two types: rulebase or inline.
In the following example, the current record context is passed down as a record CONTAINSLINK variable.
The rulebase is defined in a file relative to the environment variable $MQ_COMMON_DIR.
In the following example with propagate type="inline", the current record context is passed down as a record variable called REL_CONTEXT. The LINK/HAZMATFLAG refers to the HAZMATFLAG where the propagate tag was defined. This traverses the CONTAINS link to the child record, and then copies the parent HAZMATFLAG to the child. The end result is a child record with the same HAZMATFLAG value as its parent. <action> <propagate type="inline"> <var>REL_CONTEXT</var> <action> <assign> <var>HAZMATFLAG</var> <var>LINK/HAZMATFLAG</var> </assign> </action> </propagate> </action>
Issue/Introduction
Usage of propagate tag in CIM rulebase constraints