The task is assigned to you when you claim the task, so there's not real difference at that point. What you could do is add a task listener and when you have a candidate task set a local variable. That enables you to to distinguish between the task types.