Renzo Tomaselli [http://community.jboss.org/people/Tomarenz] created the 
discussion

"process variable type-safety"

To view the discussion, visit: http://community.jboss.org/message/619228#619228

--------------------------------------------------------------
Hi all, process variables are defined as name-type pairs.
>From the Eclipse plugin I can see that types are defined by means of a Java 
>class, however engine API deals with them as objects (Map<String, Object>).
The question is: who/when does check type consistency ? Is it an engine 
responsability or a task one ?
Should a task check received parameter type of all input parameters or is it 
already done by the engine ?
What happens when constrains meet a wrong type at runtime ?
Thanks.
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to