services:
    oro_workflow.action.create_related_entity:
        class: 'Oro\Bundle\WorkflowBundle\Model\Action\CreateRelatedEntity'
        arguments:
            - '@oro_action.expression.context_accessor'
            - '@doctrine'
        tags:
            - { name: oro_action.action, alias: create_related_entity }

    oro_workflow.action.start_workflow:
        class: 'Oro\Bundle\WorkflowBundle\Model\Action\StartWorkflow'
        arguments:
            - '@oro_action.expression.context_accessor'
            - '@oro_workflow.manager.system'
        tags:
            - { name: oro_action.action, alias: start_workflow }

    oro_workflow.action.transit_workflow:
        class: 'Oro\Bundle\WorkflowBundle\Model\Action\TransitWorkflow'
        arguments:
            - '@oro_action.expression.context_accessor'
            - '@oro_workflow.manager.system'
        tags:
            - { name: oro_action.action, alias: transit_workflow }

    oro_workflow.action.get_available_workflow_by_record_group:
        class: 'Oro\Bundle\WorkflowBundle\Model\Action\GetAvailableWorkflowByRecordGroup'
        arguments:
            - '@oro_action.expression.context_accessor'
            - '@oro_workflow.manager'
        tags:
            - { name: oro_action.action, alias: get_available_workflow_by_record_group }
