Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 7 TIBCO ActiveMatrix BusinessWorks: Working with the Orders Services API Call : Running the Example

Running the Example
Perform the following tasks to run the example.
Task E Starting the Adapter
1.
Edit the adkenan.tra file. This file is located in $TIBCO_HOME/adapter/adkenan/<version_num>/bin.
Specify the repourl as the location where the local repository was saved in the previous section.
Specify the configurl as /tibco/private/adapter/KenanAdapterConfiguration.
2.
3.
Move to $TIBCO_HOME/adapter/adkenan/<version_num>/bin and type adkenan. This brings up the adapter and displays the message Successfully initialized the adapter.
Task F Running the TIBCO ActiveMatrix BusinessWorksProcess
4.
Start TIBCO Designer.
Click Programs > TIBCO > TIBCO Designer <version_num> > Designer <version_num>.
5.
In the initial dialog box, click Open Existing Project. Browse and select the location where the project was saved.
6.
Click OrderServiceSample. The OrderServiceSample process is displayed as shown next:

7.
Ensure the value of the RvDaemon global variable matches the value of the RvDaemon parameter in the repository (which is being used by the adapter to run).
8.
Provide a valid value for the AccountInternalId field in the createAccount task. Double-click the createAccount task, select the Input tab, expand the root node and then you see the AccountInternalId field. Ensure that the AccountInternalId specified here is not present in the application records (Check the CMF table for the same). You can also drill down every sub process (for example, createOrder, createServiceOrder) to configure parameters as needed. The configuration is displayed as shown next:

Edit the date field CreateDt in the ItemCreate, as applicable. The format for the date field is <year>-<month>-<day>T<hr>:<min>:<sec>. For example, 2nd April 2007 10:30 am is written as 2007-04-02T10:30:00. This format is then converted by the custom Java code function to a date format acceptable to the Kenan middleware. For more information about the data converter, refer to TIBCO ActiveMatrix Adapter for Kenan/BP Configuration and Deployment.
9.
Trigger the TIBCO ActiveMatrix BusinessWorks process. Select the Tester tab in the project panel and press F9. In the next dialog box, click Load & Start Current.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved