Activiti api modified