You can pass in the taskId by EL e.g. @BeginTask("#{my.taskId}") View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103721#4103721 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103721