IBM BPM JavaScript API programming guide

In Process Designer all variables are JavaScript variables so you can use JavaScript code snippets inside your components to improve the behavior of your model.