JBoss Community

How read "ActorId" dinamically in HumanTaskNodeInstance?

created by gardellajp in jBPM - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in jBPM at Community