Hi @rds0511
Welcome to UiPath community
Get queue item return the items in queue as enumerable
Use For each activity as item in items use item.status code to get each item status in queue
thanks for your reply. Apologies for not explaining my concern.
website is there where i am exporting csv evry 15 minutes and loading that column "application ID "values(reference also i m adding this value) in orchestrator queue.
and then processing those in ERP tool. It can happen that will go either in Success or Failure state.
But now after my second export of report there is again probability to get the same application id that was already loaded in orchestrator.
now i want to add this id’s into queue only if their status was “failed”.
But for id’s who isalready success in queue, i dont want to add again in bot queue.
suppose id is 123 in orchestrator and it is failed.
if in csv that same id is there , then i need to pick that only and will want again to be added in queue.
but suppose if id is 789 in orchestrator and it is in success state.
if in csv that same id is there , then i dont need to load that again in orchestrator queue.
Thats why i want to give if condition for getqueue items under for each row and then add queue items.
In get queue items you can try setting the status as success and then reference as the required the id …that way if a item is returned then it means already processed else not processed