sorry . the ones that were ended with "end-tasks='true'" will return true for "hasEnded" method. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970732#3970732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970732