From Bright Pattern Documentation
(Updated via BpDeleteTranslateTags script) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | = Post Variable= | |
− | + | 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 == |
− | + | === Syntax === | |
+ | postVariable(name, value);'' | ||
− | == Parameters == | + | === Parameters === |
− | '' | + | {|border="1" style="border-collapse:collapse" cellpadding="5" |
− | + | | '''Parameter''' | |
− | + | | '''Type''' | |
− | + | | '''Optional/Required''' | |
− | + | | '''Description''' | |
− | + | |- | |
− | + | | name | |
− | + | | String | |
− | + | | 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
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 |