How to get the next transaction data?

Hello All,

After postponing a queue transaction bot is picking the same postponed transaction rather than picking the next transaction , how can I pick the next transaction from the queue??

@naveen.s,

Postpone the transaction to the time like 5 minutes or something so it won’t be picked immediately.

@Ashok,
can you please elaborate ??

Hey @naveen.s

Your postponing time should be greater than current time.
Set Proper Postponed Time

  1. Ensure that the postponed time is far enough into the future to exclude it from being picked up immediately.
  2. Example: If the bot runs every minute, set the postponed time to at least +2 minutes or more to avoid the bot encountering the same transaction again.

Example in Postpone Transaction Item: For postponing it to 5 minutes!

Now.AddMinutes(5)

Best regards,
Ajay Mishra

@ashok,


I am using this activity to postpone

@ajay,


this is what I have given in Postpone Transaction item activity properties

@naveen.s Yes it is correct, if you want to postpone it for one day then pass

Now.AddDays(1)

Then this transaction will be fetched tomorrow after the current time!

Best regards,
Ajay Mishra

I want to postpone only for 5 minutes if any criteria is not found.
Item is postponing for 5 minutes but after postponing the bot is picking same postponed transaction rather than next transaction

@naveen.s I believe, the other transactions would have the same data in them; just check it once on the orchestrator!

Please check the bot logs :


and queue items below:

@naveen.s After Transaction Postponed, execution should proceed to the next transaction i.e. Transaction No. 2. However, in the logs, I can see that your execution is in a repetitive loop.

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