After you create and configure the ExportxML ruleset, and
attach the required rules to the document hierarchy. You can run a
batch and confirm that the export task is operational.
To run a batch through the workflow:
- Click the Datacap Studio Test tab.
- In the Breakpoints pane, click Remove
all breakpoints.
- In the Workflow pane, select the VScan task
profile under Main Job.
- Click New to start a new batch.
- Click Process rules for target object and Advance to
move the batch through the entire workflow
- Open the file C:\Datacap\TravelDocs\export\batch_identifier.xml and
review the exported XML data.
<?xml version='1.0' ?>
<Rental_Agreements>
<TM000001>
<Pickup_Date>Tues, Dec 7, 2010</Pickup_Date>
<Pickup_Location>Boston (BOS)</Pickup_Location>
<Return_Date>Fri, Dec 10, 2010</Return_Date>
<Return_Location>Boston (BOS)</Return_Location>
<Car_Type>Compact</Car_Type>
<Options>Fuel Service</Options>
<Total_Cost>345.70</Total_Cost>
</TM000001>
<TM000003>
<Pickup_Date>Mon, Dec 6, 2010</Pickup_Date>
<Pickup_Location>San Francisco (SFO)</Pickup_Location>
<Return_Date>Fri, Dec 10, 2010</Return_Date>
<Return_Location>San Francisco (SFO)</Return_Location>
<Car_Type>SUV</Car_Type>
<Options>Child Seat</Options>
<Total_Cost>489.31</Total_Cost>
</TM000003>
<TM000004>
<Pickup_Date>Mon, Dec 13, 2010</Pickup_Date>
<Pickup_Location>Newark (EWR)</Pickup_Location>
<Return_Date>Thur, Dec 16, 2010</Return_Date>
<Return_Location>Newark (EWR)</Return_Location>
<Car_Type>Luxury</Car_Type>
<Options>Navigation System Child Seat Fuel Service</Options>
<Total_Cost>387.40</Total_Cost>
</TM000004>
</Rental_Agreements>