bea.com | products | dev2dev | support | askBEA
 Download Docs   Site Map   Glossary 
Search

BPM Command Line Tool

 Previous Next Contents Index View as PDF  

Sample Output Document

This appendix shows an example of an XML instance document.

Listing A-1 Archive Sample Document

<?xml version="1.0" encoding="UTF-8" ?> 
<workflowinstance xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"    xsi:noNamespaceSchemaLocation="workflowinstance.xsd">
   <instanceid>2008</instanceid>
   <templateid>26</templateid>
   <templatename>Order Fulfillment</templatename>
   <templatedefinitionid>26</templatedefinitionid>
   <orgid>CDExpress</orgid>
   <initiator>admin</initiator>
   <parent>
       <instanceid>2006</instanceid>
       <templatedefinitionid>27</templatedefinitionid>
   </parent>
   <started>2002-12-18T16:32:09.0</started>
   <completed>2002-12-18T16:37:51.0</completed>
   <idstring>Order 2</idstring>
   <comment />
   <state>ACTIVE</state>
   <tasks>
       <task>
           <taskid>2</taskid>
           <taskname>Ship Order</taskname>
           <started>2002-12-18T16:32:09.0</started>
           <completed>2002-12-18T16:37:51.0</completed>
           <due xsi:nil="true" />
           <assignee isRole="true">Shipping</assignee>
           <comment>Ship to John Doe 3126 Blue Street Anytown CA            96822</comment>
           <status>COMPLETE</status>
           <priority>MEDIUM</priority>
           <permissions>
               <markdone>false</markdone>
               <reexecute>false</reexecute>
               <unmarkdone>false</unmarkdone>
               <modifiable>false</modifiable>
               <reassignable>false</reassignable>
           </permissions>
       </task>
   <task>
       <taskid>963511775400</taskid>
       <taskname>Generate Invoice</taskname>
       <started>2002-12-18T16:32:09.0</started>
       <completed>2002-12-18T16:35:48.0</completed>
       <due xsi:nil="true" />
       <assignee isRole="true">Accounting</assignee>
       <comment />
       <status>COMPLETE</status>
       <priority>MEDIUM</priority>
       <permissions>
           <markdone>false</markdone>
           <reexecute>false</reexecute>
           <unmarkdone>false</unmarkdone>
           <modifiable>false</modifiable>
           <reassignable>false</reassignable>
       </permissions>
       </task>
   </tasks>
   <variables>
       <variable>
           <name>CustomerAddress</name>
           <type>string</type>
           <value>3126 Blue Street Anytown CA 96822</value>
       </variable>
       <variable>
           <name>CustomerName</name>
           <type>string</type>
           <value>John Doe</value>
       </variable>
       <variable>
           <name>ItemID</name>
           <type>integer</type>
           <value>236</value>
       </variable>
       <variable>
           <name>ItemQuantity</name>
           <type>integer</type>
           <value>2</value>
       </variable>
       <variable>
           <name>OrderBeanReference</name>
           <type>session</type>
           <value>wlpi.tour.POBean:t3://192.168.11.112:7001#null</value>
           </variable>
       <variable>
           <name>OrderID</name>
           <type>integer</type>
           <value>2</value>
       </variable>
       <variable>
           <name>OrderTotalPrice</name>
           <type>double</type>
           <value>364.35</value>
       </variable>
       <variable>
           <name>ShipToState</name>
           <type>string</type>
           <value>MA</value>
       </variable>
     </variables>
</workflowinstance>

 

Back to Top Previous Next