onRejected

Syntax

onRejected(event)

Description

Fires when generic task is rejected by agent and the routing system acknowledges the same.