AnsweredAssumed Answered

Get the node name of a task

Question asked by prap89 on Aug 4, 2011
Latest reply on Aug 10, 2011 by jbarrez
Hello folks,

I am new to Activiti and I currently building a sample application that needs me to get the service task id and its name from its properties as the process runs in the workflow. Currently I just want to print the service task name and its id.
I looked in the forums and it seems you need a runtimeservice object to get the task id but when in delegate listener I could not get access to runtimeservice object of the current process. RunTimeService object is only available in the main thread.
Can you tell me a way around this problem?

Thank you,