How to pass a variable to rulebase via webservice Add / Modify request?
book
Article ID: KB0094672
calendar_today
Updated On:
TIBCO Collaborative Information Manager
|
-
|
Not Applicable
|
-
|
Description
Resolution:
One way to achieve this could be:
1. Create a temporary attribute say "TEMPVAR" in Master Catalog.
2. Set this attribute to some value in the SOAP Request e.g.:
<EntityData>
<Attribute name="PRODUCTID" type="string">P1</Attribute>
<Attribute name="PRODUCTIDEXT" type="string">PE1</Attribute>
<Attribute name="TEMPVAR" type="string">someValue</Attribute>
...
</EntityData>
3. Access it in the rulebase as any other catalog attribute:
<constraint>
<name>AssignUOMToTEMPVAR</name>
<description>Assign UOM To TEMPVAR</description>
<usefor>
<var>UOM</var>
</usefor>
<action>
<assign>
<var>UOM</var>
<var>TEMPVAR</var>
</assign>
</action>
</constraint>
Issue/Introduction
How to pass a variable to rulebase via webservice Add / Modify request?
Feedback
thumb_up
Yes
thumb_down
No