Methods
Get
Retrieves the contextual state data for this instance of this automation.
Velocity
#set($queryStringResponse = $context_v2_automationState.Get())
JavaScript
var queryStringResponse = context_v2_automationState.Get();
Returns
Update
Update Overload 1
Updates the contextual state data for this instance of this automation. Up to 4kB of data can be saved for an automation.
Velocity
#set($additionalInfoResponse = $context_v2_automationState.Update())
JavaScript
var additionalInfoResponse = context_v2_automationState.Update();
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
state | Options | Set of optional parameters including: | Required |
Update Overload 2
Updates the contextual state data for this instance of this automation. Up to 4kB of data can be saved for an automation.
Velocity
#set($additionalInfoResponse = $context_v2_automationState.Update($state))
JavaScript
var additionalInfoResponse = context_v2_automationState.Update(state);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
state | QueryString | State | Required |