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


Chapter 5 TIBCO ActiveMatrix BusinessWorks: Working with the Employee 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 Publication and Subscription services to update PeopleSoft.
In a typical business scenario, an adapter publishes a message to another application (for example, SAP or Siebel) 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 Subscription service to update the data in PeopleSoft.
In the Employee example provided, the publisher triggers the UpdateProcess. The data to be updated is specified in the input XML file. UpdateProcess queries PeopleSoft based on the key values specified in the input XML file and the Employee details are updated in PeopleSoft.
SyncProcess uses the adapter’s Publication Service to send a message out of PeopleSoft whenever Employee 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