How to generate report by queue item?

Hi Team,

Good Evening!

I want to generate report by getting queue items.

Scenario- Sending wish mails then generating reports by Get queue Items.
But, while generating I want yesterday queue proceed reports as wll.

Today - I have send mails till 2pm and generated the reports til 2pm only

then after 2pm I have sent again wish mails but not generated reports.

Tomarrow - I come and send wish mails again till 8pm

now generating report while generating the reports I want yesterdays(after 2pm) queue reports as well

How I can achieve this

@Sanket_Shinde1,

The problem statement you have is very much complex for the Get Queue Items.
Still you can try below approach:

Add timestamp as reference of each queue item.
When getting queue items with Get Queue Items use Filter Strategy as StartsWith and enter Reference = Timestamp as per requirement.

image

Remember Get Queue Items fetches 100 queue items only at a time. If want more than that you will have to loop through it.

This would require more digging around reference to get test different scenarios. Work on that.

Another more reliable and designed for these kind of problems solution is Data Service

Try this option as well if you have liberty to design solution.

Thanks,
Ashok :slight_smile:

1 Like

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