Nick, we have an active beta available that will automatically wrap-up interactions left in an ACW state when an agent transitions to 'offline' but I don't think that will help your scenario. I would not want to implement an 'auto-end' solution when changing statuses as agents can do that while working on an interaction (to prep themselves to go on break or to lunch, etc. and NOT receive another interaction when they complete the one they are on.
Have you considered using a 'timeboxed' ACW setting? (Note, we are about to release support for timeboxed ACW on digital channels, not just voice, so if this has been a blocker, it won't be much longer!)
Thanks,
Chris
------------------------------
Chris Bohlin
Product Manager - PureCloud
------------------------------