The application that I'm developing needs to close a task and open the next one in a jBPM process. I tried to annotate the method called from the 'Next' button action as: @EndTask(transition="<transition_name>") @BeginTask(pageflow="<pageflow_name>") public String onTest() { return "next"; } obtaining the "javax.ejb.EJBTransactionRolledbackException: task/process id may not be null" exception.