<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>context_v2_automationState Script API</title><link>https://community.telligent.com/community/13/w/api-documentation/72545/context_5F00_v2_5F00_automationstate-script-api</link><description>&lt;p&gt;&lt;span&gt;Developing on Verint Community? Use the API documentation as a reference for all supported interactions with Verint Community.&lt;/span&gt;&lt;/p&gt;</description><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>context_v2_automationState Script API</title><link>https://community.telligent.com/community/13/w/api-documentation/72545/context_5F00_v2_5F00_automationstate-script-api</link><pubDate>Fri, 08 Mar 2024 17:15:07 GMT</pubDate><guid isPermaLink="false">4707de26-9a3f-43b8-804f-034fcfe518b9</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/13/w/api-documentation/72545/context_5F00_v2_5F00_automationstate-script-api#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 03/08/2024 17:15:07&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;div class="documentation"&gt;&lt;p&gt;&lt;div class="message error"&gt;This extension is only available when rendering the implementation of an automation. It is not generally available for use by widgets, embeddables, or themes.&lt;/div&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="#Get"&gt;Get&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#Update"&gt;Update&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="documentation-members methods"&gt;&lt;h2&gt;Methods&lt;/h2&gt;&lt;a name="Get"&gt;&lt;/a&gt;&lt;h3&gt;Get&lt;/h3&gt;&lt;p&gt;Retrieves the contextual state data for this instance of this automation.&lt;/p&gt;&lt;h4&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($queryStringResponse = $context_v2_automationState.Get())&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var queryStringResponse = context_v2_automationState.Get();&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[QueryString Script API Type|QueryString]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;a name="Update"&gt;&lt;/a&gt;&lt;h3&gt;Update&lt;/h3&gt;&lt;h3&gt;Update Overload 1&lt;/h3&gt;&lt;p&gt;Updates the contextual state data for this instance of this automation. Up to 4kB of data can be saved for an automation.&lt;/p&gt;&lt;h4&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($additionalInfoResponse = $context_v2_automationState.Update())&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var additionalInfoResponse = context_v2_automationState.Update();&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;Parameters&lt;/em&gt;&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;state&lt;/td&gt;&lt;td rowspan="1"&gt;Options&lt;/td&gt;&lt;td rowspan="1"&gt;Set of optional parameters including:&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h3&gt;Update Overload 2&lt;/h3&gt;&lt;p&gt;Updates the contextual state data for this instance of this automation. Up to 4kB of data can be saved for an automation.&lt;/p&gt;&lt;h4&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($additionalInfoResponse = $context_v2_automationState.Update($state))&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var additionalInfoResponse = context_v2_automationState.Update(state);&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;Parameters&lt;/em&gt;&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;state&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;[[QueryString Script API Type|QueryString]]&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;State&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h4&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[AdditionalInfo Script API Type|AdditionalInfo]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>