In which scenarios we can choose add transaction item and which scenarious we can use add queue item

in which scenarios we can choose add transaction item and which scenarious we can use add queue item

Hi @saritha_panguluri

Add transaction item will add the item to queue and will set status to in progress so if you want to write data to queue but do not want to create a separate dispatcher then we will use this /if you want to add item to queue and process it immediately then we can use this

add queue item will add status as New …so we need to use a Get transaction item to get it and it can be done separately

cheers

thank you @Anil_G

1 Like

HI @saritha_panguluri

The first one will add to your Orchestrator queue an item with the Status “new” and will have to be picked from the queue later using “Get Transaction Item” Activity, generally from another process. This Load work approach mainly allow your workload to be processed between several robots

Add transaction Item will directly start a queue item and put its Status as “in process”. It is quite handy and allows you to bypass the load phase if you do not intend to split the workload between several robots or see a need to process your transactions

Note that for both approaches, you have the possibility to attach data and output to each item which is quite helpful in term of understanding the case processed (For reporting or testing purpose).

At the end, you should set a status to your queue item (Failed or Completed) or even do more advanced thing such as postponing it using appropriate activities.

Queues also offer a very good retry management which help to keep the workflows lean and since the latest version allow you to avoid unwanted processing duplication with their unique reference options

Check out the uipath Official documentation

1 Like

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