I can't delete queue items <Value cannot be null>

image

Any idea about that error ???

I would like delete all items from the queue before i use add queue items activity…

Any suggestions ???

@170290064

No need to use while

Use get queueitems activity and in the properties enable new,inprogess,success,failed based on your requirement

Below that use if activity

Codition as outputofgetqueueItems.count>0
Then

Use delete queue items activity

1 Like

Hi @170290064

Check if you passing arguments and variables correctly to your workflow. Also, run it in debbug mode and use step into and locals pane to get where the worklow is breaking

Additionally, you can delete queue items directly from Orchestrator depending your use case

@170290064

I ll tell you the problem with your workflow…

Inside the loop you are getting queue items…and say if there are no queue items even then your workflow will try to delete the empty item…the same wcenario happened

To avoid it…try to move get queue items after deete and one get queue items before while

Hope this helps

Cheers

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