COSMOS Workflow management system