After you create and configure the ExportDB ruleset and
attach the data rule to the rental agreement page. You can run a batch
and confirm that the export task is operational.
To run a batch through the workflow:
- Use the Connection wizard to reopen the TravelDocs application. Opening the Connection wizard, forces Datacap Studio to reload the information
from the application configuration (.app) file. If you do not open
the wizard, the export database connection string might not be in
the cached copy of the .app file. The new ruleset might fail.
- In Datacap Studio,
click the Test tab.
- In the Rulesets pane, expand the ExportDB ruleset. Then,
right-click the Export Rental Agreement Data rule
and choose Set breakpoint. The action stops
when Taskmaster reaches the rule.
- 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 VScan, PageID, Profiler, Verify,
and Export tasks. The action stops at the breakpoint.
- Click Step in to single-step into
the function and start running the actions. As each line completes,
ensure that there is a check mark beside the action, which indicates
that the action returned True.
Tip: If ExportOpenConnection fails (as indicated by a ! beside
the action), ensure that you set up the export database correctly.
And that you added the connection string to the Taskmaster Application Manager. Then,
use the Connection wizard to reopen the TravelDocs application.
- Click Process rules for target object to
resume normal execution. You must click Process rules for
target object each time you press the Export Rental Agreement
Data rule (for each rental agreement page). Then, click Advance.
- Open the file C:\Datacap\TravelDocs\TravelDocsExport.mdb and
review the exported data in the Rental_Agreement table.