Script Contexts
There are two different script context types:
Both are based on ScriptContext and this is what they both have in common.
ProcessScriptContext
The ProcessScriptContext contains the input and output documents, in addition to the information in ScriptContext. A Document consists of the document content and its (dynamic document) properties.
public List<Document> inputDocuments = []
public List<Document> outputDocuments = []MapScriptContext
A MapScriptContext represents the input and output variables as they are defined on the platform, in addition to the information in ScriptContext.

ScriptContext
The ScriptContext is the base class,MapScriptContext and ProcessScriptContext inherit from it. The ScriptContext hosts:
Process Properties - procProps
Dynamic Process Properties - dynProcProps
Execution Properties - executionProperties
Last updated