Developing the Business Logic in Activiti