no, I'm not saying that.. the business layer needs to be aware of the Activity name that it's trying to complete :)
It's probably my mistake, I think I use WorkItem as Activity name.. but it should be Activity1, Activity 2 and Activity3.
So then you will check by that names to know which work item you should choose.. sorry for that.. my mistake.
interesting.. are you saying that the business layer should be aware of the
"workItemId", when it approves a document? And the WorkflowService cannot
just resume the flow by the documentId provided?
Thank you,
/Anatoly
--
View this message in context: http://n3.nabble.com/Resuming-the-Flow-SESSION-ID-PROCESS-INSTANCE-ID-WORKITEM-ID-tp607507p677412.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users