Skip to content

Unable to create a workflow based on mimetype and group membership #57169

@kyteinsky

Description

@kyteinsky

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Create a tag "deltag"
  2. Create a group "autotag" and assign a few users to it
  3. Create an external mount that is accessible to the group "autotag" (although this might not be relate)
  4. Create a flow as shown below
Image

Expected behaviour

Workflow is created.

Actual behaviour

Regex error from the "workflowengine" app. Maybe this issue belongs in the server?

{"reqId":"ifxsiY2XYeIasD9xp9PR","level":2,"time":"2025-12-17T10:22:11+00:00","remoteAddr":"192.168.21.8","user":"admin","app":"PHP","method":"POST","url":"/ocs/v2.php/apps/workflowengine/api/v1/workflows/global?format=json","message":"preg_match(): Delimiter must not be alphanumeric, backslash, or NUL at /var/www/html/apps/workflowengine/lib/Check/AbstractStringCheck.php#73","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36","version":"32.0.3.2","data":{"app":"PHP"}}

Server configuration

Web server: Nginx

Database: Maria

PHP version: 8.3

Nextcloud version: 32.0.3

List of activated apps
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

Browser

Browser name: Firefox/Chrome/Safari/…

Browser version: 124/125/…

Operating system: Windows/Ubuntu/Mac/…

Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions