0 Replies Latest reply on Apr 28, 2010 10:24 AM by zanzie

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

      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.