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-20...
(
https://community.jboss.org/servlet/JiveServlet/showImage/2-803763-20470/...)
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&...]