To introduce a document integrity problem, add an optional
insurance page to the end of the batch. This orphan page causes the
document integrity process to raise an error condition and Taskmaster routes the batch
to the FixUp task.
After you fix the document integrity problem by deleting
the page, processing can continue as normal.
Remember: The
goal here is to demonstrate the routing capabilities of Taskmaster. So, deleting the
problem page is acceptable. Typically, the corrective action is specified
in the business requirements.
To run a batch through the workflow:
- Open C:\Datacap\TravelDocs\images.
- Delete the files CarRental.tif and OffsetAirTicket.tif (the
files that you used for text and pattern matching).
- Make a copy of Images_Page_02.tif (the
first optional insurance page) and name the copy Images_Page_14.tif to
create an orphaned insurance page.
- In the Rulerunner Manager window,
confirm that the Datacap Rulerunner Service service
is running.
- Start and log in to the Taskmaster Web client, and click VScan on
the Operations tab.
- In the VScan window, click Browse,
go to C:\Datacap\TravelDocs\images. Then, select
a file and click Open, then click Scan.
- When the VScan task displays a message to indicate that
the scanning is complete, click OK, click Done then
click OK and Stop.
- On the Taskmaster Web client Operations tab,
click Upload.
- When the Upload task displays a message to indicate that
the task is complete, click OK and then click Stop.
- In the Taskmaster Web client,
click the Monitor tab to display the Job
Monitor page, click Job Monitor to
display the job queue.
- Wait until the Profiler task picks up and finishes the
pending batch, and passes the batch to the CreateDocs task.
The
CreateDocs task raises a condition flag and routes the batch to the
FixUp task (a manual task that Rulerunner cannot process).
- Click the Operations tab and click Fixup.
- Select the batch with the FixUp task that is pending, and
click Yes in the dialog to confirm that you
want to start the selected batch. The batch opens in the Taskmaster Web FixUp window. The
last document is selected and the Comments field
indicates that the document has an invalid member (the orphaned insurance
page).
- Select the page TM00001 and click Delete.
Then, click OK to confirm. Taskmaster deletes the page
and the parent document.
- Click Finish and then click OK in
the Task Finished message box. The
FixUp task now has status of Job done and the batch is now pending
for the Profiler task.
- Wait until the Profiler task picks up the pending batch
and processes the batch. When Profiler is completed, the batch is
pending for the Verify task.
- Open the pending batch in DotEdit or Taskmaster Web and submit the batch
as before. Then, switch to the Job Monitor window
and watch the status of the batch as Rulerunner completes the Export
task.
- Delete the file Images_Page_14.tif from
the images folder so you do not encounter this
problem again.