From 3e677f56a18c25ceaf16e63217b74f48055568df Mon Sep 17 00:00:00 2001 From: Marco Schaeck Date: Tue, 3 Nov 2026 13:14:23 +0100 Subject: [PATCH] feat(api): add activity instance id to common restrictions --- .../dev/bpmcrafters/processengineapi/CommonRestrictions.kt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/api/src/main/kotlin/dev/bpmcrafters/processengineapi/CommonRestrictions.kt b/api/src/main/kotlin/dev/bpmcrafters/processengineapi/CommonRestrictions.kt index 11c1d05b..c2b1b11f 100644 --- a/api/src/main/kotlin/dev/bpmcrafters/processengineapi/CommonRestrictions.kt +++ b/api/src/main/kotlin/dev/bpmcrafters/processengineapi/CommonRestrictions.kt @@ -11,6 +11,13 @@ object CommonRestrictions { */ const val ACTIVITY_ID = "activityId" + /** + * Id of the runtime instance of a BPMN activity. Key under which adapters can put it into + * [dev.bpmcrafters.processengineapi.task.TaskInformation.meta], e.g. for log or trace correlation. + * @since 1.8 + */ + const val ACTIVITY_INSTANCE_ID = "activityInstanceId" + /** * Logical business key. */