If you look at the process data exposed in a Set Value operation the variable id is the process ID.
Ideally, create and embed an XML Schema in your form. In my form, depicted below, I have three fields - firstName, lastName and processID.
You can then map the process ID into the form.
Steve