integrated/workflow-bundle

Integrated Workflow Bundle

Installs: 1 019

Dependents: 1

Suggesters: 0

Security: 0

Type:symfony-bundle

0.7 2017-10-09 19:20 UTC

README

This bundle will intergrate workflow into the content bundle. The bundle is still work in progess so for now this readme will only contain instructions to get the bundle workin.

Installation

The following thing should be done in any order but I would recommend doing the first one first or else you get errors when adding the entities.

  • Add the bundle to the AppKernel
  • Add the routing

    intergrated_workflow:

    resource: "@IntegratedWorkflowBundle/Resources/config/routing.xml"
    
  • The bundle got entities so execute the Doctrine commands

    php app/console doctrine:schema:update

  • There are no config options for now but it is recommend to add this to the security config

    access_decision_manager:

      # strategy can be: affirmative, unanimous or consensus
      strategy: unanimous
    

Well that is it.

Scheduled Tasks

The console command workflow:worker:run is recommanded to be scheduled to run atleast once every minute. This needs to be done to done to make sure that changed to workflows reflect into the reindex of the affected content.

Pro tip: activate the quiet mode to suppress output.