IBM BPM, V8.0.1, All platforms > Programming IBM BPM > Developing using the JavaScript API > Samples

Getting the current process instance

The current process instance can be retrieved through the TWProcessInstance variable called tw.system.currentProcessInstance.

Samples