[jboss-user] [jBPM] - Efficient way for predefining assigners(users) from current task to next.

Eldar Tukshaitov do-not-reply at jboss.com
Wed Apr 28 10:24:50 EDT 2010

Eldar Tukshaitov [http://community.jboss.org/people/zanzie] created the discussion

"Efficient way for predefining assigners(users) from current task to next."

To view the discussion, visit: http://community.jboss.org/message/540038#540038

Hello Guys!!! Our company is developing e-court (justice) system for our country. This system is based on Alfresco ECM product, and this product use JBPM 3.x  as one of crucial parts. And we have practically completed it. But I think, I can find here more ideas for my problem places.  So, we have next problem. Every user should open self workspace and see only self tasks. Then user can one any task, and he will see inner part of task depends from type of task. For ending the task,  he should choice transition for next task, and real user (or pool) who have to execute next task. For example: document registrator after generating new process and executing first task should approve process to adviser (adviser`s task). This task can execute some users. Registrator should select one of them. I solve this problem next way. For current task I find all next tasks nodes  (use transitions), then I get all tasks from task node, after this a find all assigners to tasks use corresponding jbpm api. So I get for every transition all available users. Then I end task for selected transitions and for fresh task instance I set assignee programmly. Perhaps, we have more efficient decision for problem, but I dont have self minds about it.   


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100428/d241d51a/attachment.html 

More information about the jboss-user mailing list