integrated with activiti rest