GithubHelp home page GithubHelp logo

joshuacarter / silverstripe-workflow-actions Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nyeholt/silverstripe-workflow-actions

0.0 0.0 0.0 61 KB

Additional actions for workflows

License: BSD 3-Clause "New" or "Revised" License

PHP 95.64% CSS 4.36%

silverstripe-workflow-actions's Introduction

Workflow Actions

Build Status Latest Stable Version Latest Unstable Version Total Downloads License

A set of workflow actions and extensions to extend the normal Advanced Workflow functionality

  • Assign Content Approvers - allows you to specify an approver group and publisher group for particular content trees, that the workflow can use for assignment. Allows more flexible workflow definitions.
  • ElementalPageWorkflowExtension & WorkflowedElement - allows tracking of changes on elements on parent pages to ensure workflow processes can be run at the parent page level.
  • RightsideWorkflow - Moves workflow interaction to a sidebar rather than being hidden on a tab

Composer Install

composer require symbiote/silverstripe-workflow-actions:~1.0

Requirements

  • SilverStripe 4.1+

Documentation

Add the following configuration, depending on needs

Page:
  extensions:
    - Symbiote\AdvancedWorkflow\Extension\ContentApproversExtension

# If using elemental, this helps track changes on elements in the containing
# parent page for review processes.
Page:
  extensions:
    - Symbiote\AdvancedWorkflow\Extension\ElementalPageWorkflowExtension
BaseElement:
  extensions:
    - Symbiote\AdvancedWorkflow\Extension\WorkflowedElement

# If using the **Timeout Transition Action**, you'll want to add this
# config to setup the **Workflow Timeout Job** as a default job
---
Name: workflow_actions_jobs
Only:
  moduleexists: symbiote/silverstripe-queuedjobs
---
SilverStripe\Core\Injector\Injector:
  Symbiote\QueuedJobs\Services\QueuedJobService:
    properties:
      defaultJobs:
        WorkflowTimeoutJob:
          type: 'Symbiote\AdvancedWorkflow\Jobs\WorkflowTimeoutJob'
          filter:
            JobTitle: 'Workflow Timeout Job'
          construct:
            -
          startDateFormat: 'Y-m-d H:i:s'
          # FREQUENCY OF TIMEOUT CHECKS
          startTimeString: 'now + 1 hour'
          recreate: 1
          # ADMIN EMAIL HERE
          email: '[email protected]'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.