diff --git a/server/impl/src/main/java/com/walmartlabs/concord/server/events/TriggerProcessExecutor.java b/server/impl/src/main/java/com/walmartlabs/concord/server/events/TriggerProcessExecutor.java index 70d5431534..385a37f439 100644 --- a/server/impl/src/main/java/com/walmartlabs/concord/server/events/TriggerProcessExecutor.java +++ b/server/impl/src/main/java/com/walmartlabs/concord/server/events/TriggerProcessExecutor.java @@ -166,7 +166,11 @@ private Future submitProcess(Event event, if (t.getArguments() != null) { args.putAll(t.getArguments()); } - args.put("event", ExpressionUtils.escapeMap(event.attributes())); + + Map eventAttributes = new LinkedHashMap<>(event.attributes()); + eventAttributes.put("id", event.id()); + + args.put("event", ExpressionUtils.escapeMap(eventAttributes)); Map cfg = new HashMap<>(); cfg.put(Constants.Request.ARGUMENTS_KEY, args);