Optimize Workflow with Maintenance Contracts