Sunday, February 12, 2012

Canceled batches getting deleted in IBM Datacap Taskmaster Capture

Canceled batches getting deleted


in Datacap Taskmaster Capture


Abstract


When I set a batch to Canceled using the SetTaskStatus action, or programmatically using the Pilot.BatchStop method, the batch gets deleted. This does not happen when I set the batch to Canceled in the Job Monitor in Taskmaster Client.

Cause


The Rulerunner engine deletes batches that have a status of Canceled when a task terminates. However, if the status is set through Job Monitor or some other method that does not trigger Rulerunner, then the batch will show the status change but will still exist.

Resolving the problem


Other statuses, such as Hold or Aborted can be used to mark that a batch as needs attention without causing the batch to be deleted.

No comments:

Post a Comment