Hi Chris,
I have achieved this in the past by creating a Data Action that will end the Preview and set a wrap-up code. You can then use a Wrap-Up rule or even Wrap-Up Code Mappings to set the record as Uncallable.
I used the PATCH /api/v2/conversations/callbacks/${input.conversationId}/participants/${input.participantId} API endpoint.
The body I used was:
{
"wrapup":
{ "code": "${input.WrapUpCode}" },
"state": "disconnected"
}
This allowed me to pass in different Wrap-up Codes so the agent can select why they are skipping. You could even add Wrap-Up Notes in there too with this:
{
"wrapup":
{"code": "${input.wrapUpCode}",
"notes": "${input.wrapUpNotes}"},
"state": "disconnected"
}
Hope this helps,
------------------------------
Craig Stevenson
Genesys - Employees
------------------------------