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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to