first of all, what you describe is not realy ad-hoc task, since it is part of the flow.
For me, ad-hoc is out-of flow but part of the process, but that is just me.
See
planetjbpm.wordpress.com (milestone example) on how to create runtime tasks that are
defined in the process but not part of the flow.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203463#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...