Skip to content

Commit

Permalink
Merge branch 'master' into server-ansible-cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ibodrov authored Feb 20, 2023
2 parents 16b50cf + 3d5c506 commit 15fafa4
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,11 @@ private Future<PartialProcessKey> submitProcess(Event event,
if (t.getArguments() != null) {
args.putAll(t.getArguments());
}
args.put("event", ExpressionUtils.escapeMap(event.attributes()));

Map<String, Object> eventAttributes = new LinkedHashMap<>(event.attributes());
eventAttributes.put("id", event.id());

args.put("event", ExpressionUtils.escapeMap(eventAttributes));

Map<String, Object> cfg = new HashMap<>();
cfg.put(Constants.Request.ARGUMENTS_KEY, args);
Expand Down

0 comments on commit 15fafa4

Please sign in to comment.