Hi there! ![]()
Classification: General Question
Based on the available documentation and community discussions, Camunda 8 does not have a built-in field or property that automatically captures and stores the creator/initiator of a process instance.
What’s Available
The standard process instance metadata in Camunda 8 includes:
- Process instance key
- Process definition information
- Start/end timestamps
- State information
- Variables
However, there’s no automatic “createdBy” or “creator” field that tracks who initiated the process instance.
Recommended Solutions
If you need to track the creator of process instances, here are some approaches:
-
Pass creator information as a process variable when starting the process instance:
// Example when starting a process instance client.newCreateInstanceCommand() .bpmnProcessId("your-process-id") .variables(Map.of("createdBy", "username@company.com")) .send(); -
Implement tracking at the application layer - capture this information in your application before calling Camunda APIs
-
Use custom exporters to enhance audit data with creator information from your authentication context
References
- Process instance creation documentation
- Camunda 8 audit logging discussion
- Audit Log of Variables discussion
Would you like me to help you implement any of these approaches for tracking process instance creators?