Workflow context objects
You can access a number of system objects directly from JavaScript code without using a get method. These system objects are referred to as context objects.
Workflow context objects are exposed to the workflow scripting
environment as global JavaScript objects. Other JavaScript contexts have global data available to them, but only the following
global objects are related to workflow:
- Activity
- This object contains the information related to the current activity.
- Process
- This object contains the information related to the current process.