Skip to content

Commit

Permalink
expose user of running flows
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
  • Loading branch information
blizzz committed Nov 27, 2019
1 parent 3faa6ef commit ed6936e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/workflowengine/lib/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ public function getAllOperations(ScopeContext $scopeContext): array {
$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')));
Expand Down

0 comments on commit ed6936e

Please sign in to comment.