praetorian-digital/workflow-designer-pro-bundle

Visual Workflow Designer for Pimcore - Create, edit, and manage workflows with a graphical interface based on Symfony Workflow

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Language:JavaScript

Type:pimcore-bundle

pkg:composer/praetorian-digital/workflow-designer-pro-bundle

dev-main 2025-12-09 14:21 UTC

This package is auto-updated.

Last update: 2025-12-09 16:37:38 UTC


README

License: MIT Pimcore

Visual Workflow Designer for Pimcore - Create, edit, and manage workflows with a graphical interface based on Symfony Workflow.

Workflow Designer Pro

Features

  • ๐ŸŽจ Visual Graph Editor - Drag-and-drop interface for creating workflow diagrams
  • ๐Ÿ“ Places & Transitions - Full support for Pimcore workflow places and transitions
  • ๐ŸŽฏ Flexible Support Strategies - Simple class list, expression-based, or custom service strategies
  • ๐Ÿ”’ Guard Expressions - Visual editing of Symfony guard expressions
  • ๐Ÿ” Permission Rules - Configure place permissions with conditions
  • ๐Ÿ“ง Notifications - Set up email/Pimcore notifications per transition
  • ๐Ÿ“ค Import/Export - YAML and JSON workflow import/export
  • ๐Ÿ”„ Version Control - Track workflow changes with version history
  • ๐Ÿงช Simulation Mode - Test workflows before publishing
  • ๐Ÿ“ฑ Responsive UI - Works on different screen sizes

Requirements

  • PHP >= 8.1
  • Pimcore >= 11.0 or >= 2024.0
  • Symfony >= 6.4

Installation

Via Composer

composer require praetorian-digital/workflow-designer-pro-bundle

Enable the Bundle

Add to config/bundles.php:

return [
    // ...
    PraetorianDigital\WorkflowDesignerProBundle\WorkflowDesignerProBundle::class => ['all' => true],
];

Install Assets

bin/console assets:install --symlink
bin/console cache:clear

Run the Installer

bin/console pimcore:bundle:install WorkflowDesignerProBundle

Configuration

Create config/packages/workflow_designer_pro.yaml:

workflow_designer_pro:
    storage_path: '%kernel.project_dir%/var/config/workflow_designer_pro'
    publish_path: '%kernel.project_dir%/config/workflows'
    max_versions: 10
    backup_enabled: true
    auto_cache_clear: true

Make sure your workflows are imported in config/packages/workflows.yaml:

imports:
    - { resource: '../workflows/*.yaml' }

Usage

Accessing the Designer

  1. Navigate to Settings โ†’ Workflow Designer Pro in Pimcore admin
  2. Or use the top-level Workflow Designer menu item

Creating a Workflow

  1. Click New Workflow
  2. Fill in the basic settings (name, label, supports)
  3. Add places in the Places tab or Graph Editor
  4. Add transitions connecting places
  5. Configure guards and notifications as needed
  6. Save Draft to store your work
  7. Publish to activate the workflow

Support Strategies

Choose how the workflow applies to objects:

Simple (Class List) - Apply to all objects of selected classes:

supports:
    - Pimcore\Model\DataObject\Product

Expression - Apply based on conditions:

support_strategy:
    type: expression
    arguments:
        - Pimcore\Model\DataObject\Product
        - "subject.getProductType() == 'article'"

Custom Service - Use custom PHP logic:

support_strategy:
    service: App\Workflow\CustomSupportStrategy

See the User Guide for detailed documentation on support strategies.

Permissions

The bundle creates two permissions:

  • workflow_designer - View and edit workflows
  • workflow_designer_publish - Publish workflows to configuration

Assign these to users via Settings โ†’ Users โ†’ Permissions.

Documentation

Contributing

Contributions are welcome! Please read our Contributing Guide before submitting a Pull Request.

License

This bundle is released under the MIT License. See the LICENSE file for details.

Credits

Built with โค๏ธ for the Pimcore community.

Based on: