[jboss-user] [jBPM] - Re: How to Assign Human task to a Role in jBPM5
Franklin Antony
do-not-reply at jboss.com
Tue Jun 14 09:06:42 EDT 2011
Franklin Antony [http://community.jboss.org/people/frankee787] created the discussion
"Re: How to Assign Human task to a Role in jBPM5"
To view the discussion, visit: http://community.jboss.org/message/610122#610122
--------------------------------------------------------------
Create a client like this to connect to the Process Server
private static TaskClient client = new TaskClient(new MinaTaskClientConnector("client 1", new MinaTaskClientHandler(SystemEventListenerFactory.getSystemEventListener())));
Connect like this
client.connect(taskServerIP,taskServerPort);
And add a task like this
client.addTask(task, null, addTaskResponseHandler);
the task object will contain information about PotentialOweners who can be User or Groups(which is your case)
Regards,
Franklin
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/610122#610122]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110614/9d36435b/attachment.html
More information about the jboss-user
mailing list