My Bot triggers in gap of 2 hours. It should send the item to queue from API, now if previous queue data is there , bot should skip those repeated entries and updated only new or remaining entries from API
you can set up unique reference to avoid duplication
You got two options here:
- Set Unique reference to QueueItems.
- Add logic to get existing queue items with reference id. If it returns a queue item, don’t add else add it to queue.
Thanks,
Ashok ![]()
How to it. Can you explain
Can you explain first point. As Second will increase processing time.
Do we need to make any changes in code for this as well ?
Then , While updating that data table do I need to add any settings to any column
how to declare this ?
I am creating data table from APi response , do we need to add new column it self or some settings we need to do in while adding DT to queue
Just add a Reference column to datatable. This works with Add Bulk Queue Items so it should work with API as well.
Thanks,
Ashok ![]()
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
