Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 3 TIBCO ActiveMatrix BusinessWorks: Working with the SalesOrder Component Interface : Example Description

Example Description
This example shows how the adapter’s Publication, Subscription and Request-Response services can be used in a TIBCO ActiveMatrix BusinessWorks process. The example has three processes, GetProcess, UpdateProcess and SyncProcess.
GetProcess uses the adapter’s Request-Response Service to fetch data from PeopleSoft for key values that you specify in an input XML file.
GetProcess queries PeopleSoft based on the given key values and fetches the data. The data is sent back by the adapter to TIBCO ActiveMatrix BusinessWorks and is written into an output XML file.
UpdateProcess uses the adapter’s Request-Response Service to update PeopleSoft.
In a typical business scenario, an adapter to another application (for example, SAP or Siebel) publishes a message into the TIBCO environment. TIBCO ActiveMatrix BusinessWorks receives the messages and writes them to an input XML file. The content of this XML file will contain the changes to be updated in PeopleSoft. TIBCO ActiveMatrix Adapter for PeopleSoft uses the Request-Response Service to update the data in PeopleSoft and sends a reply to TIBCO ActiveMatrix BusinessWorks.
Alternatively, you may specify key values in the input XML file. UpdateProcess queries PeopleSoft based on the key values. The SalesOrder details are updated in PeopleSoft.
SyncProcess uses the adapter’s Publication service to send a message out of PeopleSoft whenever SalesOrder component interface details are modified or updated in the target PeopleSoft application. Any change to the data in PeopleSoft triggers the SyncProcess.
On receiving the modified data, TIBCO ActiveMatrix BusinessWorks logs it to an XML file.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved