I want to run two bot one after another.
Process A run with 10 transaction
Process B- Fetch output report for this transaction from orchestrator and able to fetch it.
now again when i run the bot for 20 transaction using process A
this time bot should be able to retrieve the report only for this 20 transaction (should not take previously 10 record)
what condition need to be apply in “Get Queue items” activity.
As of now i am passing the system date so its fetching all transaction report i.e both 10 transaction and 20 transaction which is not satisfy the above condition.
@Rup_1 - What could be the unique values in your queue item?
ex: if you doing batch process transaction count is 10… then create a reference number for that batch queue items like
refProcessABatch1 → add 10 items to the queue
refProcessABatch2 → add next 10 items to the queue
use the reference (refProcessABatch 1 or 2 or 3) along with your queue name in Get Queue items activity to fetch the list of batch items.
Hi,
Sorry for late response.
As of now i pass the the “1” as reference in Reference property of “Add Queue Item” – Means In my dispatcher i.e in process A and then i run the dispatcher so added transaction successfully with reference “A”
Now in my process B - I pass the same reference i.e “A” in Reference property of “Get Queue Item” – and then i run the Process B and its return correct data.
Now if run the dispatcher again with 5 transactions with same reference and run process B then it return this 5 transaction + previous transaction – This should not be done.
So here we need to pass unique reference then how we can achive.