cancel
Showing results for 
Search instead for 
Did you mean: 

Having trouble getting task info in Java Delegate

klanders
Champ in-the-making
Champ in-the-making
I have a user task with a boundary timer. When the timer fires, the process goes to a service task, which calls a java delegate class.

In the java delegate class, I need access to the task name and task id for the user task (the one with the boundary timer). I must be missing something, but I cannot find a way to get this information using the DelegateExecution in the execute() method.

Seems like this should be pretty simple to do, but I'm new to Activiti and need some guidance. What's the easiest way to do this? Is there a way to get the DelegateTask for that user task?
3 REPLIES 3

klanders
Champ in-the-making
Champ in-the-making
Just realized that I put this in the wrong forum - sorry -.
I'll re-post in the correct forum.
Thanks.

miterreader
Champ in-the-making
Champ in-the-making
s it possible to trigger escalation from activiti process flow if a particular activity or task didn't complete on time?

Please let me know how to achieve this.

Regards,
Anish Agrawal

jbarrez
Star Contributor
Star Contributor
You'd use a timer boundary event.