Methods modified for activiti service