Raise incident on User Task - possible?

Hi there,

Is it possible to raise an incident upon entering a User Task?
I’m trying to notify an operator to solve a timeout exception thrown by a Service Task when trying to acess a remote REST endpoint.
The operator should claim his task and retry the service task (yes, i’m modelling the retry)

Are you looking to raise a incident in addition to the user task? Or just create a notification when the user task is assigned.

Either one would be ok, but an incident would be better!
My aim was to notify an operator when an external service call failed; i catch the http connector exception and send it down a modeled path to said user task.

Well a incident is different than a user task. So you would need to clear your user task and clear your incident. You can create a incident using a task listener and the execution.createIncident() method.