Let’s say you have created a queue, a device pool and scheduled a bot to run when a specified minimum number of work items are added to the queue. While the transactions are being processed, you may notice that there are a couple of work items that have failed and want to know how to re-process these transactions.
Here is the breakdown of the two-part bot setup to execute the Invoice processing use case.
As you can see in the diagram above, the second bot picks up the Invoice files from the path added to the Queue by the first bot.
Select the queue connected to the bot, that is ‘FilePathQueue’, and click on the Queue Name.
Edit queue screen displays next which displays all the work items along with their status such as Completed, Failed , Ready to Run etc., In this list, consider the failed work item id 472. You can see the details of the error by clicking on the 3 dots on the right side of the transaction and Clicking on the View icon.
Here is the View icon for your reference.
There can be two ways to fix this issue, first is to check if the mentioned location has that specific file. If not, place the file in this location or second option is to update the correct location which contains the specified file. Let us assume we want to update the file location. Click the button ‘Edit’ on the top right corner and update the file location in the FilePath field.
Once the file location is updated, add a comment for Audit log purpose and now select the Status as Re-process and Click Save Changes. Now the transaction will be reprocessed, and if it goes fine, it will have an updated status as Completed as shown below.
In this example, we updated the file location, however sometimes you may notice that there are no changes needed, and just needs the work item to be re-processed. In this case, select the work item and click the button ‘Re-process’ in the ‘Edit Queue’ screen. You can either select just one work item or multiple work items at once to be reprocessed.
WorkLoad Management is a powerful way to process hundreds and thousands of transactions by distributing the transactions across multiple devices in a device pool. As you will be dealing with huge list of work items, it’s important to understand, how to analyze failed work items and take necessary actions based on your analysis.
To know more about Workload management and how to use it, please take a look at the meetup recording on the same topic.