The Advanced Message Script Object provides visibility of an Advanced Message within the Action Script. Advanced Messages are generated by the execution of Scenarios.
Creation Method: Available on scenario events by calling the factory method on the event object script.
Reference Name: User defined.
Scope: Script lifecycle.
Object Variable | Type | Purpose |
---|---|---|
id | Integer | Identifier of the Advanced Message |
name | String | Scenario name |
message | String | Scenario message |
description | String | Description of the Scenario |
launcher | String | Target ID of the User that launched the Scenario |
monitors | List | Target ID of Users who are configured to monitor the Scenario |
notifyOnInitiation | Boolean | Flag specifying if an initiation notification should be sent to all monitors |
notifyOnConclusion | Boolean | Flag specifying if a conclusion notification should be sent to all monitors |
isTestMode | Boolean | Flag specifying whether the Scenario is being tested |
duration | Integer | Duration of the Scenario |
attributeNames | List | List of attributes associated to the Scenario |
recipients | List | List of recipients associated with the Scenario |
conclusionTime | Integer | Time at which the Scenario concluded |
choices | List | List of response choices for the message |
choiceKeys | List | List of phone keys associated to a choice |