I want to invoke a global task listener when an assignment event happens on that task and only when the candidate group for that task is ‘ManagerGroup’. The end goal is to set the latest manager who has worked on a process instance. Of course, there are a series of user tasks associated with this flow and some of them are assigned to ManagerGroup and some of them to ‘LeadGroup’.