Skip Headers

Oracle Workflow Developer's Guide
Release 2.6.3

Part Number B10284-02
Previous Next       Contents Index Glossary
         Previous  Next          Contents  Index  Glossary

XML Compare Tag Value Activities

Use the XML Compare Tag Value activities to compare data from an event message received through the Business Event System with a test value. This functionality is currently only available for the standalone version of Oracle Workflow. These activities compare the data contained within a particular XML tag set in the event message with the test value that you specify.

XML Compare Tag Value (Date) Use this activity to compare date values.
XML Compare Tag Value (Number) Use this activity to compare number values.
XML Compare Tag Value (Text) Use this activity to compare text values.

All the XML Compare Tag Value activities call the external Java function named oracle.apps.fnd.wf.XMLCompareTag.

Note: When the Workflow Engine encounters an external Java function activity, it places an entry on the 'Outbound' queue. To continue executing the activity, you must run the Java Function Activity Agent, which calls the appropriate Java function and places the result on the 'Inbound' queue. You must then run a background engine to process the 'Inbound' queue and complete the function activity. See: Setting Up the Java Function Activity Agent, Oracle Workflow Administrator's Guide and Setting Up Background Engines, Oracle Workflow Administrator's Guide.

Activity Attributes

Each XML Compare Tag Value activity has three activity attributes:

         /order/header/ordernumber
The following example path locates the ITEMNO node on the third line of the purchase order document:
         /order/orderlines/line[3]/itemno
The following example path locates the COST node on the second line of the purchase order document whose currency attribute is set to "AUD." The notation // indicates that the specified node is located among the descendants of the root node.
         //line[2]/cost[@currency="AUD"]
For more information, see the W3C Recommendation XML Path Language (XPath).

The XML Compare Tag Value activities use the Comparison lookup type for a result code. Possible values are "Greater Than," "Less Than," "Equal," or "Null," if the test activity attribute value is null. You can guide your workflow process based on how the event message data compares to the test value. See: To Define Activity Attribute Values.


         Previous  Next          Contents  Index  Glossary


Oracle Logo
Copyright © 2003 Oracle Corporation.

All rights reserved.