Skip to content

Add runtime operations in WFE#59966

Draft
salmart-dev wants to merge 1 commit intomasterfrom
feature/workflow-app-rules
Draft

Add runtime operations in WFE#59966
salmart-dev wants to merge 1 commit intomasterfrom
feature/workflow-app-rules

Conversation

@salmart-dev
Copy link
Copy Markdown
Contributor

@salmart-dev salmart-dev commented Apr 28, 2026

Summary

Introduces runtime operations to the Workflow Engine

Sometimes apps may want to hook into the WFE event/check pipeline without surfacing those flows to administrators or users. Classic WFE operations are stored in the DB and fully visible and editable via the UI. Runtime operations fill the gap for programmatically defined, app-internal flows.

Registration flow

At boot, the WFE application dispatches RegisterRuntimeOperationsEvent (note it's internal) before registerRuleListeners runs. Internal apps can listen to this event and call Manager::addRuntimeOperation() as needed.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@salmart-dev salmart-dev self-assigned this Apr 28, 2026
@salmart-dev salmart-dev added the 3. to review Waiting for reviews label Apr 28, 2026
@salmart-dev salmart-dev force-pushed the feature/workflow-app-rules branch 3 times, most recently from 7eff7fc to d19fe62 Compare April 28, 2026 16:06
@salmart-dev salmart-dev changed the title Merge pull request #59942 from nextcloud/fix/view-destructure Add runtime operations in WFE Apr 29, 2026
@salmart-dev salmart-dev force-pushed the feature/workflow-app-rules branch 2 times, most recently from b8030e7 to 07960ec Compare April 29, 2026 11:54
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>

# Conflicts:
#	apps/workflowengine/lib/Manager.php
@salmart-dev salmart-dev force-pushed the feature/workflow-app-rules branch from 07960ec to 5741066 Compare April 29, 2026 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant