Using Scheduler with Long-Running Activiti Workflow Tasks
In this presentation we describe customizations to workflow task handling to incorporate a scheduler to balance load for long running workflow tasks. Alfresco ships with the Quartz scheduler, but workflow tasks are handled as received, not through a scheduler. Our customer desired the ability to automatically limit long running and resource intensive tasks, so that system resources could be managed. By the use of Activiti receive tasks and the Quartz scheduler, we were able to provide the customer with the desired capabilities. We will review the design of the solution, and describe and demonstrate the customizations we developed. These customizations include Activiti workflow templates, Quartz scheduler Spring configuration, Java delegates for tasks, and custom Java code for Quartz job handling.