There are scenarios wherein we need to create a record to multiple Organizations or Sites from a single payload.
A multiplication control is a cross-reference control that copies, or multiplies, an inbound message for multiple organizations or sites.
We can create Cross Reference Control from the Enterprise Services application --> Select Action menu --> Create Integration Controls.
In the dialog box, click the button "Add New Control" --> Select Cross Reference Control (Add New Xref Control).
It has one Default External value and multiple Maximo Default values.
Associate ORGMUL to Enterprise Service. Open an enterprise service from Enterprise Services application. From the Select Action menu --> Associate integration controls
select ORGMUL, then click OK.
Assign Multiplication Control: Open an enterprise service from Enterprise Services application.
Select ORGMUL as the Multiplication Control in the Multiplication Control field.
Select ORGMUL as the Multiplication Control in the Multiplication Control field.
Create an Enterprise Service Rule to replace the value on an inbound transaction using a key value pair.
Create a Rule, for example, SETORG. Action=Replace.
Click Add/Modify Conditions. Click New Row in the Conditions section. Click New Row in the XML Field Section. Choose the Field you wish to do the replace on and leave the Evaluation Type as NOTEQUALS and the Evaluate When as ALWAYS. Choose the Value Radio Button and click OK.
Click the Sub-Record Fields button. Click New Row, choose the field you wish to do the Replace on and then choose the Integration Control.
Input XML for testing:
Reference: https://rb.gy/urcuxa
https://www.ibm.com/support/pages/using-rules-replace-value-list-inbound-transaction
Great Work
ReplyDelete