Skip to main content

After-call work in WDE

When a video call the agent answered ends, WDE puts the agent's video channel in Not Ready for a set time, then back to Ready. These settings are hidden when Genesys Cloud is the routing platform.

Key Default What it does
CLIENT_ACW_ENABLED On Turns after-call work on.
CLIENT_AGENT_ACW_CODE ecv_ACW Not Ready reason code WDE sends to the contact centre platform.
CLIENT_AGENT_ACW_DISPLAY empty (= the reason code) The code WDE shows back for this state. WDE compares the agent's current code with this value.
CLIENT_AGENT_ACW_DURATION 10000 ms Length of after-call work, in milliseconds.

How it runs

  1. At call end, if the agent is Ready (or already shows the after-call work code), WDE sets Not Ready with CLIENT_AGENT_ACW_CODE.
  2. After CLIENT_AGENT_ACW_DURATION, WDE reads the agent's current code.
  3. If it equals CLIENT_AGENT_ACW_DISPLAY, WDE sets Ready. Otherwise WDE assumes the agent changed state and does nothing.

Making the values line up

  • The reason code must exist as a Not Ready reason on the contact centre platform.
  • If the platform reports the state with a different code or name than the one sent, set CLIENT_AGENT_ACW_DISPLAY to exactly what WDE shows. If it does not match, step 3 never sets Ready and agents stay in Not Ready.
  • Test: end one call and check in the WDE log that it says "ACW still in progress. Ending ACW". "ACW was ended by Agent" without any agent action means the display code is wrong.
  • Agents not in Ready when the call ends (for example already Not Ready for a break) are left alone.