# Department
department.not.found=Department not found
department.code.exists=Department code already exists
department.name.exists=Department name already exists
department.parent.not.found=Parent department not found
department.has.children=Cannot delete department with children 

# Workflow related error messages
workflow.not.found=Workflow definition not found
workflow.code.exists=Workflow code already exists
workflow.name.exists=Workflow name already exists
workflow.disabled=Workflow is disabled
workflow.not.published=Workflow is not published
workflow.already.published=Workflow is already published
workflow.already.disabled=Workflow is already disabled
workflow.not.draft=Workflow is not in draft status
workflow.not.disabled=Workflow is not in disabled status
workflow.invalid.status=Invalid workflow status
workflow.config.invalid=Invalid workflow configuration
workflow.transition.invalid=Invalid workflow transition rules
workflow.condition.invalid=Invalid workflow condition configuration

workflow.instance.not.found=Workflow instance not found
workflow.instance.already.completed=Workflow instance already completed
workflow.instance.already.canceled=Workflow instance already canceled
workflow.instance.not.running=Workflow instance is not running
workflow.instance.not.paused=Workflow instance is not paused

workflow.node.not.found=Workflow node not found
workflow.node.type.not.supported=Unsupported node type
workflow.node.config.invalid=Invalid node configuration
workflow.node.execution.failed=Node execution failed
workflow.node.timeout=Node execution timeout
workflow.node.config.error=Node configuration error

workflow.execution.error=Workflow execution error
workflow.variable.not.found=Workflow variable not found
workflow.variable.type.invalid=Invalid workflow variable type
workflow.permission.denied=Permission denied to operate workflow
workflow.approval.required=Approval required
workflow.approval.rejected=Approval rejected
workflow.dependency.not.satisfied=Workflow dependency not satisfied
workflow.circular.dependency=Circular dependency detected in workflow
workflow.schedule.invalid=Invalid workflow schedule configuration
workflow.concurrent.limit.exceeded=Workflow concurrent limit exceeded

workflow.config.error=Workflow configuration error: {0}

# Workflow Node Type Errors (2200-2299)
workflow.node.type.not.found=Node type does not exist or has been deleted
workflow.node.type.disabled=Node type is disabled and cannot be used
workflow.node.type.code.exists=Node type code already exists
workflow.node.type.invalid.category=Invalid node type category
workflow.node.type.invalid.executor=Invalid executor configuration