Skip to content

Commit

Permalink
Remove created By from notification recipient
Browse files Browse the repository at this point in the history
  • Loading branch information
yamelsenih committed Oct 19, 2024
1 parent c35fe1d commit 4ab7579
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/org/spin/eca46/process/SchedulerProcessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,10 @@ private String runProcess(MProcess process) throws Exception {
StringBuffer errorsSending = new StringBuffer();
if (userIds.length > 0) {
ProcessInfoUtil.setLogFromDB(info);
Arrays.asList(userIds).forEach(userId -> {
Arrays.asList(userIds)
.stream()
.filter(userId -> userId!= schedulerProcessor.getCreatedBy())
.forEach(userId -> {
AtomicReference<File> report = new AtomicReference<File>();
if (isReport) {
// Report
Expand Down

0 comments on commit 4ab7579

Please sign in to comment.