Hi,
I have a data table that I like to upload to the queue with a unique reference. Datatable has a column “Employee ID”.
So in a for loop I am adding queue item with property Reference set to this Employee ID + DateTime.Now.ToString(“MMddyyyy”) format.
Does this work or do I need to create a refernce column in the data table itself with Employee ID value.
Please advise proper way of doing this.
Thank you,
vrdabberu
(Varunraj Dabberu)
2
Hi @A_Learner
You are using Add queue item within For Each row in DataTable right, the property set in reference will work for each row in the datatable.
Regards
1 Like
It’s much better to add a Reference column to the datatable then use Bulk Add Queue Items.
1 Like
For some reason, Bulk Add is failing. I will have to go with loop.
Thank you,
How about figuring out why Bulk Add is failing? Are you getting an error message?
Yes, really like to know why the bulk add fails. It gives me an error message.
Thanks,
What is the error message? You have to give us details or we can’t help.
Will get back. Thank you.
@postwick
Bulk add worked. No issues. Thank you for the good advice about bulk add.
system
(system)
Closed
11
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.