Jim Beam
2013-03-20 15:50:20 UTC
Jim Beam [https://community.jboss.org/people/jamesbeam] created the discussion
"Re: Data input objects - blocking a task"
To view the discussion, visit: https://community.jboss.org/message/803861#803861
--------------------------------------------------------------
Hi. I believe we are working on a similar problem - If I understand your question. I have received a few helpful suggestions. The easiest (and ugliest) was to put an AND gateway and a signal intermediate event in front of each task. This way, the task is not reached until the signal event (new data) is added to the process/ksession. The other option, which I am working on now (a recommendation from salaboy I think), is implementing this functionality in a customworkitem - where the handler will not complete the work item until the required data is available. This way, one handler could be used to look for a message that was defined as a parameter in that workitem. This seems much cleaner to me.Â
hth (let me know if you have any thoughts)
-J
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/803861#803861]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
"Re: Data input objects - blocking a task"
To view the discussion, visit: https://community.jboss.org/message/803861#803861
--------------------------------------------------------------
Hi. I believe we are working on a similar problem - If I understand your question. I have received a few helpful suggestions. The easiest (and ugliest) was to put an AND gateway and a signal intermediate event in front of each task. This way, the task is not reached until the signal event (new data) is added to the process/ksession. The other option, which I am working on now (a recommendation from salaboy I think), is implementing this functionality in a customworkitem - where the handler will not complete the work item until the required data is available. This way, one handler could be used to look for a message that was defined as a parameter in that workitem. This seems much cleaner to me.Â
hth (let me know if you have any thoughts)
-J
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/803861#803861]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]