From 7a7a415fdc81b36a27b8a379e83f7f334c8194e6 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 27 Nov 2019 16:03:31 +0100 Subject: [PATCH] expose user of running flows Signed-off-by: Arthur Schiwon --- apps/workflowengine/lib/Manager.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/workflowengine/lib/Manager.php b/apps/workflowengine/lib/Manager.php index b84ae57c2c7..f97d77f5983 100644 --- a/apps/workflowengine/lib/Manager.php +++ b/apps/workflowengine/lib/Manager.php @@ -186,6 +186,8 @@ class Manager implements IManager { $query = $this->connection->getQueryBuilder(); $query->select('o.*') + ->selectAlias('s.type', 'scope_type') + ->selectAlias('s.value', 'scope_actor_id') ->from('flow_operations', 'o') ->leftJoin('o', 'flow_operations_scope', 's', $query->expr()->eq('o.id', 's.operation_id')) ->where($query->expr()->eq('s.type', $query->createParameter('scope'))); -- 2.39.5