I guess you can do this with an actionHandler.
see Wfp16MiWithoutAPrioriRuntimeKnowledge.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100123#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...