Maciej Swiderski [
https://community.jboss.org/people/swiderski.maciej] created the
discussion
"Re: How can I find GroupId"
To view the discussion, visit:
https://community.jboss.org/message/727159#727159
--------------------------------------------------------------
You can try to cast it to HumanTaskNodeInstance if you're sure it is a HumanTask and
get a work item out of it. Next, access parameters of work item to get actor id and group
id.
String actorId = ((HumanTaskNodeInstance)
nodeInstance).getWorkItem().getParameter("ActorId");
String groupId = ((HumanTaskNodeInstance)
nodeInstance).getWorkItem().getParameter("GroupId");
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/727159#727159]
Start a new discussion in jBPM Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]