You need to sign in to do that
Don't have an account?
Maria Alberi
Live agent event on chat finished
Hi all, another Live Agent issue :(
I configured my live agent environment with a pre-chat page and a post-chat one.
In my pre-chat page I create a Lead L record, who fires a trigger that creates a person customer linked to L, an opportunity and a case C related to the customer. After lead creation, the agent can see L page open in the console. Some case and lead fields are populated by pre-chat code and others are populated through apex triggers that fire on customer and case.
But at the end of the chat, when a visitor or an agent closes chat, I want to force the agent to fill some mandatory fields in the Case C that were not populated during previous steps. Is it possible to run a script in L page, that check every tot number of seconds if the chat has finished, and when the chat is closed (at the same time, the Live chat Transcript has created), sends an alert to the agent with something like this "click here to fill C (link to the case C ) fields?".
If it's not possible such solution, can I try another one more simple?
Thank you very much in advance for your help.
Regards
Maria
I configured my live agent environment with a pre-chat page and a post-chat one.
In my pre-chat page I create a Lead L record, who fires a trigger that creates a person customer linked to L, an opportunity and a case C related to the customer. After lead creation, the agent can see L page open in the console. Some case and lead fields are populated by pre-chat code and others are populated through apex triggers that fire on customer and case.
But at the end of the chat, when a visitor or an agent closes chat, I want to force the agent to fill some mandatory fields in the Case C that were not populated during previous steps. Is it possible to run a script in L page, that check every tot number of seconds if the chat has finished, and when the chat is closed (at the same time, the Live chat Transcript has created), sends an alert to the agent with something like this "click here to fill C (link to the case C ) fields?".
If it's not possible such solution, can I try another one more simple?
Thank you very much in advance for your help.
Regards
Maria