Forum Discussion
Track missed message with timestamp
Hi Trebor84,
1.) how do we know which message has reader answered?
2.) could you provide expected result based on sample data?
You wouldn't know when a message has been answered as not all inbound messages require a response.
The reader is expected to always go into the oldest incoming message first which then timestamps it. What I'm trying to ascertain from this exercise is for each message, who isn't dealing with it, the job id of the message they dealt with instead and the count of missed oppertunities for that message.
I have amended my sample data to show how outbound responses are captured but like I say, for the purpose of this I'm only interested in outbound messages where the oldest message isn't being read first. Please also note that for any outbound messages we don't capture the read date/time of when our external supplier reads the response from their side.
| Date/Time Sent | Job ID | In/Out | Sender | Reader | Message | Read Date/Time Stamp |
| 01/01/2024 23:59 | J12345 | In | Company A | Alex G | Please can you help me with a query? | 02/01/2024 07:30 |
| 02/01/2024 00:05 | J12346 | In | Company B | Chris B | Sorry we are running late | 02/01/2024 07:25 |
| 02/01/2024 07:10 | J12347 | In | Company C | Jenny C | Please call me urgently | 02/01/2024 07:20 |
| 02/01/2024 07:30 | J12345 | Out | Alex G | Company A | How can I help? | |
| 02/01/2024 07:25 | J12346 | Out | Chris B | Company B | Thanks for the update | |
| 02/01/2024 07:20 | J12347 | Out | Jenny C | Company C | Ok will do |
Expected output:
| Date/Time Sent | Job ID | In/Out | Sender | Reader | Message | Read Date/Time Stamp | Missed By | Missed Opportunity |
| 01/01/2024 23:59 | J12345 | In | Company A | Alex G | Please can you help me with a query? | 02/01/2024 07:30 | Reader: Chris B (Job ID: J12346) Reader: Jenny C (Job ID: J12347) | 2 |
| 02/01/2024 00:05 | J12346 | In | Company B | Chris B | Sorry we are running late | 02/01/2024 07:25 | Reader: Jenny C (Job ID: J12347) | 1 |
| 02/01/2024 07:10 | J12347 | In | Company C | Jenny C | Please call me urgently | 02/01/2024 07:20 | 0 |
I have also included a sample in Excel format if this helps.