1 Reply Latest reply on Sep 8, 2009 10:23 AM by Ronald van Kuijk

    Accessing task id from execution object

    Josh S Newbie

      Hi again,
      First of all, thank you for the great support in this forum ;)
      my next question is: how is it possible to obtain the current active task id from an execution object in jbpm 4?
      Because i want to use a timeout event inside the process, and therefore i have to implement the eventlistener interface. The execution object is passed by notify method but i need the current task id. Is it possible to access the task id from the execution object, maybe by creating a taskquery (taskservice), but which parameters i have to use?
      Thanks for your answers,