JBoss Community

Data input objects

created by annah in jBPM - View the full discussion

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/ it says:

The operational semantics of ioSpecification 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

 

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

Start a new discussion in jBPM at Community