From Bright Pattern Documentation
Jump to: navigation, search
Line 10: Line 10:
 
{|border="1" style="border-collapse:collapse" cellpadding="5"
 
{|border="1" style="border-collapse:collapse" cellpadding="5"
 
| '''Parameter'''
 
| '''Parameter'''
 +
| '''Data Type'''
 
| '''Description'''
 
| '''Description'''
 
|-
 
|-
 
| name
 
| name
| String containing the name of the desired variable
+
| String
 +
| The name of the desired variable
 
|-
 
|-
 
| value
 
| value
| String containing the resulting value of the variable
+
| String
 +
| The resulting value of the variable
 
|}
 
|}
  

Revision as of 17:25, 30 August 2019

• 5.19 • 5.2 • 5.3 • 5.8

<translate>= postVariable= This function 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.

When invoking the postVariable method for a variable that starts with ActivityHistory, Agent Desktop memorizes the value of the variable to post it in campaign results. The data is retained in Agent Desktop until changed or the interaction is completed. If a form is displaying that data, the form is also updated to reflect the new value. If the data changes in form, it changes the value to be submitted.

Syntax

postVariable(name, value);

Parameters

Parameter Data Type Description
name String The name of the desired variable
value String The resulting value of the variable


</translate>

< Previous | Next >