it is read from the processdefinition xml file itself.
Which task is active is based on the name.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257241#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...