[jboss-user] [JBoss jBPM] - Re: Can process and task variables be defined in the process

nbhatia do-not-reply at jboss.com
Tue Oct 14 20:12:17 EDT 2008


I have not seen any reference to such functionality in the manual or on the web. The jpdl schema also suggests that this is not possible. I am fairly certain that such a feature will improve the usability of jBPM as it provides an easy way to provide "personality" to processes and tasks at process definition time. Currently I see very specific handlers that can attach to a task with predefined semantics. What if I can attach a variable instead, say a variable called "form" whose value specifies the form I need to trigger in order to work on the task. Now my front-end can easily dispatch forms to take care of any task. Currently I am keeping such mappings externally and there is quite a bit of machinery needed to make this work. (I am using the process name plus the task name to create a unique key which maps to a form name. Unfortunately getting the process name from a task instance is quite expensive as it involves traversing through process instance and then process defini!
 tion.)

Any thoughts from the committers?

Thanks.
Naresh

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182254#4182254

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182254



More information about the jboss-user mailing list