Apol Chakrab
2013-04-04 15:40:27 UTC
Apol Chakrab [https://community.jboss.org/people/lchakrab] created the discussion
"How to retrieve userid from within BPMN?"
To view the discussion, visit: https://community.jboss.org/message/806521#806521
--------------------------------------------------------------
I have used the following to retrieve the process id, unique id, node id, and node name from on-exit action of a human task node in a the BPMN workflow:
kcontext.getProcessInstance().getId()
kcontext.getNodeInstance().getNode().getMetaData("UniqueId")
kcontext.getNodeInstance().getNode().getId()
kcontext.getNodeInstance().getNode().getName()
Now I need to retrieve the userid who is the "assignee" of a human task node in the on-exit action of the node. The task is assigned to a group and I need to know which user is actually claiming and submitting the task.
In the "Messages" panel in the jBPM console, I can see the "assignee" who claims and submits the task, I don't know how to grab that value from within the BPMN process.
Please help.Â
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/806521#806521]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
"How to retrieve userid from within BPMN?"
To view the discussion, visit: https://community.jboss.org/message/806521#806521
--------------------------------------------------------------
I have used the following to retrieve the process id, unique id, node id, and node name from on-exit action of a human task node in a the BPMN workflow:
kcontext.getProcessInstance().getId()
kcontext.getNodeInstance().getNode().getMetaData("UniqueId")
kcontext.getNodeInstance().getNode().getId()
kcontext.getNodeInstance().getNode().getName()
Now I need to retrieve the userid who is the "assignee" of a human task node in the on-exit action of the node. The task is assigned to a group and I need to know which user is actually claiming and submitting the task.
In the "Messages" panel in the jBPM console, I can see the "assignee" who claims and submits the task, I don't know how to grab that value from within the BPMN process.
Please help.Â
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/806521#806521]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]