cancel
Showing results for 
Search instead for 
Did you mean: 

Abuse of the dataInputAssociation

bernd_ruecker
Champ in-the-making
Champ in-the-making
I now use the same shortcut for the CallActivity which is used in the WebServiceTask. But what I recognized is, that it only works if you disable schema validation (basically because the IDREF doesn’t have a correct target). See http://forums.activiti.org/en/viewtopic.php?f=4&t=885&p=3731#p3731

I would say that is a no go! Either we implement the spec correctly, or we add own extensions. And forcing people to disable schema validation for shortcuts is a pretty bad idea. What do you guys think? Or does anybody know an easy solution to get the schema validation to work?

To test/see it go to the CallActivityAdvancedTest / testSubProcessWithDataInputOutput and switch the schemaValidation attribute of the @Deployment annotation to true (and the test will fail).


Joram:
mmm, never noticed that. Thanks for pointing that out, because that is most certainly NOT the idea.

So there are two options here:
- removing the shortcut, and implementing the real deal
- fixing the shortcut

I4'm actually more in favour of the first option at this point, since we wont get any surprises from that …
20 REPLIES 20

tombaeyens
Champ in-the-making
Champ in-the-making
Right, thanks for the pointer.

I think the best approach is to have specific xml schemas for datamapping for sub process call activity and web service service tasks.
So you can now move forward with the latest proposal that I did. 

Later we'll work out the web service servicetask data mapping schema.  That is not urgent now.  We do however need a good way on how to disable validation.  So we'll concentrate on that today.