Rajashekar Reddy
New Member
Hi Team,
I am trying to get the Chat concurrency based on the start and end time stamps. However, I am missing some logic here.
Here is how the concurrency should be given.
If a person "A" is on chat at 9:15 am and it continued till 10 AM, in between he got another chat which is at 9:20 am. Now the concurrency should be 2, as he is on dual chat.
Next, if he ends either first or second chat and gets another chat and if that 3rd chat is in sync with my first chat login and 2nd chat has ended up. Then beside the 1st chat, the concurrency should show as 3.
Attached is the file for reference
I am trying to get the Chat concurrency based on the start and end time stamps. However, I am missing some logic here.
Here is how the concurrency should be given.
If a person "A" is on chat at 9:15 am and it continued till 10 AM, in between he got another chat which is at 9:20 am. Now the concurrency should be 2, as he is on dual chat.
Next, if he ends either first or second chat and gets another chat and if that 3rd chat is in sync with my first chat login and 2nd chat has ended up. Then beside the 1st chat, the concurrency should show as 3.
Attached is the file for reference