AnsweredAssumed Answered

ProcessInstanceId as a variable

Question asked by ykphuah on Jan 19, 2015
Latest reply on Jan 20, 2015 by ykphuah
I have a start action that have a form, which I start using startProcessInstanceByKey. The next in the flow is an email task. I want to attach the ProcessInstanceId (as sort of a request id) in the subject of the email task.

I have tried using ${processInstanceId} but it says its an invalid variable.
I can't find a way to set the processInstanceId as a variable after I have started it.

Is there any other recommendation to have a unique "request id" for each process?

Outcomes