How to pass variable content in a rulebase explanation message.

How to pass variable content in a rulebase explanation message.

book

Article ID: KB0085445

calendar_today

Updated On:

Products Versions
TIBCO MDM -
Not Applicable -

Description

Description:
How to pass variable values to the explanation so that the message can be more user friendly.

Resolution

The variable value which needs to be passed in the explanation should be passed as a parameter to the text element and use the test element inside the explanation.

Example:

If you need to pass PRODUCTID

<explanation><text><![CDATA[<Parameter name='PRODUCTID_VAR'/> for PRODUCTID Should be having at least one charecter]]></text>
                                                <Parameter>
                                                <name>PRODUCTID_VAR</name>
                                                <var>PRODUCTID</var>
                                                </Parameter>
</explanation>

Issue/Introduction

How to pass variable content in a rulebase explanation message.