Skip to content

Commit 561d3bd

Browse files
committed
fixup! fixup! feat(wfe): add runtime operations
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
1 parent 9a5b09f commit 561d3bd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/workflowengine/lib/Service/RuleMatcher.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ public function getFlows(bool $returnFirstMatchingOperationOnly = true): array {
142142
$configuredEvents = $operation->events;
143143
$checkIds = $operation->checks;
144144
$checks = $this->manager->getRuntimeChecks($checkIds, $operation->appId);
145+
// from now on, backwards compatibility is required
146+
$operation = $operation->toArray();
145147
} else {
146148
$configuredEvents = json_decode($operation['events'], true);
147149
$checkIds = json_decode($operation['checks'], true);

0 commit comments

Comments
 (0)