[jboss-user] [jBPM] - Data input objects

annah do-not-reply at jboss.com
Wed Mar 20 06:14:59 EDT 2013


annah [https://community.jboss.org/people/annah] created the discussion

"Data input objects"

To view the discussion, visit: https://community.jboss.org/message/803763#803763

--------------------------------------------------------------
Hi!


I need an explanation of how Data Input Objects should work in JBPM. If data input is not available should it block the task?
>From what I've read here  http://brsilver.com/bpmn-2-0-mystery-process-datainput-and-dataoutput/ http://brsilver.com/bpmn-2-0-mystery-process-datainput-and-dataoutput/ it says:
> The operational semantics of *ioSpecifica**tion* and *inputSet* say that a *process* or *task* cannot start until the *inputSet* data is available


So from this explanation I concluded that if I have a human task which has an association to a data input object, the task should not start until this object is available? I've tried a little example, with a simple process shown below but the human task gets activated and I only get a warning message  "Could not find variable scope for variable DataInput_1 when trying to execute Work Item Human Task. Continuing without setting parameter."

 https://community.jboss.org/servlet/JiveServlet/downloadImage/2-803763-20470/450-286/example.jpg  (https://community.jboss.org/servlet/JiveServlet/showImage/2-803763-20470/example.jpg)

What I want to achieve is that human task is activated when I insert the required data input to ksession (e.g. some data gets submitted to a system and I pass it to ksession so human task can be executed). How do I have to model the process to achieve this blocking behaviour?


Thanks!
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/803763#803763]

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/20130320/9c4136e7/attachment.html 


More information about the jboss-user mailing list