Before call activiti