Skip to content

Commit

Permalink
Disallow Processes with warnings from running
Browse files Browse the repository at this point in the history
  • Loading branch information
ryancooley committed Sep 4, 2019
1 parent 78821fb commit 3e2d799
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ProcessMaker/Http/Controllers/Api/ProcessController.php
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ public function startProcesses(Request $request)
->leftJoin('users as user', 'processes.user_id', '=', 'user.id')
->where('processes.status', 'ACTIVE')
->where('category.status', 'ACTIVE')
->whereNull('warnings')
->where($where);

// Add the order by columns
Expand Down

0 comments on commit 3e2d799

Please sign in to comment.