symbiote-library / silverstripe-workflow-actions
A collection of useful workflow actions
Installs: 8 755
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 5
Open Issues: 2
Type:silverstripe-vendormodule
Requires
Requires (Dev)
- phpunit/phpunit: ^5.7
README
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: 'admin@example.com'