Aadav N [
https://community.jboss.org/people/aadav86] created the discussion
"Re: User Task inside Multiple Instances node to do concurrent User Task
assignments"
To view the discussion, visit:
https://community.jboss.org/message/785146#785146
--------------------------------------------------------------
Maciej Swiderski wrote:
Not sure why you need to match these two? With multi instance each node instance will be
of the same type - will have same task name, what will differ is the data pushed into that
node instance - in your case human task. If you have requirement to somehow reset list of
approvers after first iteration then you would need to prepare it up front and make sure a
ready collection will be available for multi instance.
As per my business requirement, I want to associate different task name with
each of the node instances (human task) so that at the front-end (Application) I can
distinguish the Approver names and their Designation/Role. This is what I'm trying to
achieve.
Yeah, I hope I can try this to achieve this requirement(Task name association)
of mine at my App end itself with some sort of work around. But if it is achieved at the
jBPM End I think the integrity of data is well maintained.
Maciej Swiderski wrote:
In general, multi instance (as every other construct) is synchronous and to make it async
it's to make the handler that takes care of particular work item async. For human
tasks it's already done. So in your case mutli instance will create all tasks and then
will wait untill all of them are completed. Completion of the tasks can be done in any
order and asynchronously.
Yeah, i understand that the human tasks can be completed in any order and asynchronously
but I do not want the multiple instances node to wait until all of the tasks are
completed. I just want to know if that tweak is possible on Multiple instances construct.
Thanks forever,
Aadav
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/785146#785146]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]