Enables scripted content fragments to interact with the current execution process.
Methods
GetState
Gets a value from process state.
Velocity
#set($stringResponse = $core_v2_process.GetState($key))
JavaScript
var stringResponse = core_v2_process.GetState(key);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
key | String | Key | Required |
Returns
String
SetState
Sets a value on process state.
Velocity
$core_v2_process.SetState($key, $value)
JavaScript
core_v2_process.SetState(key, value);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
key | String | Key | Required | ||
value | String | Value | Required |