3 Replies Latest reply on Jan 2, 2012 9:36 PM by gardellajp

    How read "ActorId" dinamically in HumanTaskNodeInstance?

    gardellajp Newbie

      Hi,

       

      I need read the current actorId associate to a tasknode. How I can do it?

       

      I have the object HumanTaskNodeInstance. I can read the expression associate to the actorId:

       

      HumanTaskNodeInstance nI = ...

      HumanTaskNode node = (HumanTaskNode) nI.getNode();

      String expression = node.getWork().getParameter("ActorId");

       

      Suppose expression = #{user},  I don't found how to resolve it.

       

      Thanks,

      Juan