[jboss-user] [jBPM] - Re: How to model human-task with sub-employees
Ryan Peterson
do-not-reply at jboss.com
Fri Mar 9 08:25:18 EST 2012
Ryan Peterson [https://community.jboss.org/people/rrpeterson] created the discussion
"Re: How to model human-task with sub-employees"
To view the discussion, visit: https://community.jboss.org/message/722806#722806
--------------------------------------------------------------
Thank you for your reply Maciej!
That's sounds very close to solving my issue, my only point of concern is the behavior at "Assign New Reviewers": Will jBPM spawn off new processInstances for each sub-employee? For example if a manager has two employees, and they each have three employees:
1. The manager performs the review of his employees
2. Somewhere a check is made to see if the manager's employees have employees
3. Yes they do, Assign the new reviewers
At this point here, how does the processInstance go from a single instance for the manager, to two instances for the manager's employees? This is necessary because each sub-employee will complete a review on different schedules, and each needs to be checked individually for sub-employees after their review is complete.
Is it possible to start a new process, or call an external process from a previously started process?
>From the examples I've read it seems like a sub-process might be the key here, I'm just not quite sure how to get the behavior I'm looking for.
Thanks again!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/722806#722806]
Start a new discussion in jBPM at Community
[https://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/20120309/dc38922d/attachment.html
More information about the jboss-user
mailing list