I have created an application that sets the timer, for example, to:
Begin Day HH: MM: SS End Day
1st Break HH:MM: SS End 1-B
Lunch HH:MM: SS End L-B
2nd Break HH:MM: SS End 2-B
Coaching HH:MM: SS End C.
Training HH:MM: SS End T.
Below are some requests/challenges I have been facing:
1. How to get an alert or confirm window dialogue box whenever any button is clicked, for example: "Are you sure to start your first break? "Okay" or "Cancel" button within the browser while the app is running in the zendesk instance. (without leaving the zendesk instance) --So the "okay" button will start the break (if the agent is sure), if not sure then he/she would press "Cancel" button to make sure that break doesn't start.
Also, how to make sure that if an agent has punched in any break, for example, then he/she wouldn't be allowed to even touch any ticket till the time he/she ends that break? In order words, agents should not be allowed to work on any ticket or the window of the ticket should be frozen till the time he doesn't end that break which was started, which mean he has to click on "End break" to resume working on tickets.
2. As far as the localStorage is concerned, once the data is saved in that localStorage, how to fetch that information, for example, into SharePoint or excel sheet in my local drive because I have 500 agents who would be using this app, how to make sure that I do not lose the data, if anything I have to do to use at the API endpoint or something, please let me know. "How to take the backup of the data from the Localstorage into cloud server or database while using ZAF client"
P.S. I am making the app using React Library into JS for the logic to work.
I look forward to hearing from you.
Please sign in to leave a comment.