How can I use variable value in process instance id

How can I use runtime variable value in process instance id. So, in my case, I have multiple instance of same workflow. So i want to use variable value in the process instance id to identify which one is which

Hi!
Welcome to the user forum!

The ProcessInstanceID is assigned by the engine, so you can’t use a variable in it. However, you could use a variable to hold a “Business Key” which would be your outside reference to that process instance. Look around the forum, and you’ll find a bunch of information on it.

1 Like

Thanks for reply. But we are already using common business key for all these process instances. We cannot have different business keys for these instances
Can we write cockpit plugin to show this variable in different column with process instance id. My application is spring boot. Is it possible to write cockpit plugin to expose this identifier variable in spring boot app