expose user of running flows

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
pull/18134/head
Arthur Schiwon 6 years ago
parent 7210852f07
commit 7a7a415fdc
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
  1. 2
      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')));

Loading…
Cancel
Save