schemas/workflow.py
changeset 4535 71c86a315a9a
parent 4252 6c4f109c2b03
child 4537 aff0f59ed6e3
equal deleted inserted replaced
4534:9e9eb6a22d14 4535:71c86a315a9a
    38 
    38 
    39     subject = 'CWEType'
    39     subject = 'CWEType'
    40     object = 'Workflow'
    40     object = 'Workflow'
    41     cardinality = '?*'
    41     cardinality = '?*'
    42     constraints = [RQLConstraint('S final FALSE, O workflow_of S',
    42     constraints = [RQLConstraint('S final FALSE, O workflow_of S',
    43                                  msg=_('workflow isn\'t a workflow of this type'))]
    43                                  msg=_('workflow isn\'t a workflow for this type'))]
    44 
    44 
    45 
    45 
    46 class State(EntityType):
    46 class State(EntityType):
    47     """used to associate simple states to an entity type and/or to define
    47     """used to associate simple states to an entity type and/or to define
    48     workflows
    48     workflows