Can someone explain the difference between these two with an example? I understand that Add Transaction Item can directly start the queue after adding this item?
check this one : Difference between add queue item and add transaction item
Add Queue item:
It will add items in the orchestrator queue and the status of the item in the orchestrator queue will be New.
Add Transaction Item:
Adds a new item in the queue and starts a transaction. The status of the item is set to InProgress.It seems that way but using this Activity no longer allows the GetTransactionItem activity to return the TransactionItem that was just created with the AddTransactionItem activity
I have not seen any example where we are using add transaction item. We mostly use add transaction item to add items into the queue in orchestrator with new status.
So this Add Transaction Item: creates item and immediately processes it and then only looks for other items in the Q?
What I could understand from this post and others-
Queue Item is a new data item added to the queue and add queue item is the activity which add this item with status new.
Transaction Item is the data item , which is added to the queue with its status as InProcess, and we use add transaction item when we need to immediately put the status as InProcess.
Corrections are welcome if I am not right.
Add Transaction Item will put the item in the Queue and if you want to retrieve it subsequently, you need to provide the proper filter using the Get Transaction Items or Get Queue Items, I don’t remember which one of my head, but it’s the activity that you need to specify a filter, status, reference id etc. hope this helps. From what I remember when you add a transaction, the status is set to In Progress and by default the get queue item only picks up queue items that have status is set to New or vice-versa.