Bulk Add Queue Item transaction Error

Hi all,

Kindly help me with this question…

What will happen if one transaction fails in between while adding items to the queue using Bulk Add Queue Items?

That depends on the Commit Type property in the Bulk Add Queue Items, if you have it set to “All or nothing” or “Process independently.”

The documentation covers these things.

Advanced options

Options

  • CommitType - A drop-down which specifies the way the items are added to the queue, as well as the manner in which the errors are treated. The following options are available:

    • AllOrNothing - The activity adds all of the specified queue items if no error occurs. In the case of an error, no items are added and the row where the error occurs is returned.
    • ProcessAllIndependently - Adds each queue item individually and returns a list of all queue items that could not be added, if any.

https://docs.uipath.com/activities/other/latest/workflow/bulk-add-queue-items

Thanks for your help @postwick

Hi

when you use the “Bulk Add Queue Items” activity to add multiple items to a queue, each item is added individually. If one of the transactions (items) fails during the process of adding items to the queue, it does not affect the other items. Each item is processed independently, and the failure of one item does not prevent the others from being added to the queue.

And yes it depends on the Commit type

If you choose AllOrNothing if an error occur it won’t upload anything and row where the error occurs is returned.

But if you choose ProcessAllIndependently it adds each queue item individually and returns a list of all queue items that could not be added, if any.

Based on the choice u choose with commit type u get the output from result property

Hope this clarifies

Cheers @Manii_K

Thanks for your reply @Palaniyappan

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.