If you want to have variables that are kept LOCAL to a task, use the "setVariableLocal" on DelegateTask and "setTaskVariableLocal" on RuntimeService/TaskService. This way, the next task won't have access to those variables. If you want SOME of those variables exposed for the next task (or for the whole process, copy the variables to the process-instance or execution using the regular setVariables() methods. This can be done when the task is completed, using a listener.