Now my first guess is to just define a service task that marks a process instance with a probability of X% by adding a variable like “sample: true” to the process instance.
However, I am asking myself if there is a smarter way to do such a randomized sampling in Camunda?
Edit: I forgot to mention that currently I am working in Camunda 7