From Bright Pattern Documentation
Jump to: navigation, search
 
(Updated via BpDeleteTranslateTags script)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<translate>= Post Variable=
+
= Post Variable=
This function enables a variable to be pushed to a scenario as if the [[scenario-builder-reference-guide/SetVariable|Set Variable]] block is included; the variable is then available in scenarios and [[contact-center-administrator-guide/WorkflowEntries|workflows]].
+
Enables a variable to be pushed to a scenario as if the [[scenario-builder-reference-guide/SetVariable|Set Variable]] block is included; the variable is then available in scenarios and [[contact-center-administrator-guide/WorkflowEntries|workflows]].
  
== Syntax ==
+
== Request ==
''postVariable(name, value);''
+
=== Syntax ===
 +
postVariable(name, value);''
  
== Parameters ==
+
=== Parameters ===
''name'' String containing the name of the desired variable
+
{|border="1" style="border-collapse:collapse" cellpadding="5"
 
+
| '''Parameter'''
''value'' – String containing the resulting value of the variable
+
| '''Type'''
 
+
| '''Optional/Required'''
 
+
| '''Description'''
 
+
|-
 
+
| name
<center>[[desktop-javascript-api-specification/SetDispositionByName|< Previous]]  |  [[desktop-javascript-api-specification/SetReportingCustomField|Next >]]</center>
+
| String
</translate>
+
| Required
 +
|The name of the desired variable
 +
|-
 +
| value
 +
| String
 +
| Required
 +
| The resulting value of the variable
 +
|}

Latest revision as of 04:31, 29 May 2024

• 5.19 • 5.2 • 5.3 • 5.8

Post Variable

Enables a variable to be pushed to a scenario as if the Set Variable block is included; the variable is then available in scenarios and workflows.

Request

Syntax

postVariable(name, value);

Parameters

Parameter Type Optional/Required Description
name String Required The name of the desired variable
value String Required The resulting value of the variable
< Previous | Next >