IBM Datacap, Version 8.1            

Running a batch through the workflow

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:

  1. 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.
  2. In Datacap Studio, click the Test tab.
  3. 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.
  4. In the Workflow pane, select the VScan task profile under Main Job.
  5. Click New to start a new batch.
  6. 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.
  7. 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.
  8. 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.
  9. Open the file C:\Datacap\TravelDocs\TravelDocsExport.mdb and review the exported data in the Rental_Agreement table.


Feedback

Last updated: November 2013
dcadg438.htm

© Copyright IBM Corporation 2013.