Architectの組み込み変数


Built-in variables provide information about things the system tracks automatically, such as the caller’s phone number, or the contact list associated with an outbound flow. This article lists the default system variables that are built into Architect for each type of flow. You can also access descriptions in the embedded Function and Operator help.

Architect contains various system-scoped variables that begin with Min or Max. These variables hold the minimum and maximum value allowed for certain data types and are similar to constants in many programming languages. In Architect, they are built-in and read-only system variables. For example, the System.Min.DateTime variable holds the minimum allowed value of a DateTime data type, which is January 1st, 1800 at 12:00:00 a.m.

名前 タイプ コレクション? 読み取り専用 説明
Call.Ani 文字列 いいえ はい アクティブなコールの呼び出し元の発信電話番号。 (自動番号識別)。
Call.CalledAddress 文字列 いいえ はい The called address that caused this flow to be entered. For a new inbound call, this value is the same as Call.CalledAddressOriginal, but changes for a flow entered by a transfer, for example. *
Call.CalledAddressOriginal 文字列 いいえ はい The called address received when the call first entered the system; typically the phone number dialed by the caller to reach the system. For a given call, this value should never change.*
Call.RemoteName 文字列 いいえ はい アクティブな呼び出しのリモート名です。

Call.UUIData

文字列 いいえ はい

近日リリース予定

Reflects the user-to-user call information (UUI) set on the call.
Note: When you transfer a call from flow to flow, or when the flow disconnects, the value of this variable does not automatically follow to the next flow.
.
Flow.IsTest ブール値 いいえ はい Indicates whether or not the flow is running in debug mode.
Flow.StartDateTimeUTC DateTime いいえ はい フローが実行を開始したときの UTC datetime。
Flow.Version 文字列 いいえ はい アクティブなフローのバージョンです。
Interaction.ID 文字列 いいえ はい アクティブなインタラクションの識別子です。
Interaction.Language 文字列 いいえ はい

The IETF language tag lower case string value set on the current interaction. 

Note: Within call flows, comparisons with IETF language tag string values should be constructed in a case-insensitive manner.

System.MaxInt 整数  いいえ はい Holds the maximum value allowed for an Integer, which is -999999999999999.
System.MaxDateTime DateTime いいえ はい Holds the maximum value allowed for a Date Time, which is December 31st, 2200 at 11:59:59 p.m.
System.MaxDuration 接続時間 いいえ はい Holds the maximum value allowed for a Duration, which is 999999999999999 milliseconds (11574074 days, 1 hour, 46 minutes and 39.999 seconds).
System.MinInt 整数  いいえ はい Holds the minimum value allowed for an Integer, which is -999999999999999.
System.MinDateTime DateTime いいえ はい Holds the minimum value allowed for a Date Time, which is January 1st, 1800 at 12:00:00AM.
System.MinDuration 接続時間 いいえ はい Holds the minimum value allowed for a Duration which is -999999999999999 milliseconds ( -11574074 days, -1 hour, -46 minutes and -39.999 seconds).
System.Regions 列挙型 いいえ はい Properties that have information exposed as sub-properties, such as dialing code and country code.
System.Currencies 列挙型 いいえ はい
A list of available currencies in Architect and information about the currencies exposed as sub-properties. such as ISO 4217 currency code.
System.Languages 列挙型 いいえ はい

A list of IETF language tags in Architect.

Note: Like Interaction.Language, when accessing the tag property in call flows to obtain the IETF language tag string value, comparisons to that value should be constructed in a case-insensitive manner.

*Note: A variety of actions cause a call to enter a flow, including, but not limited to:
  • An inbound call arrives
  • A call is transferred to a flow by another flow
  • A call is transferred to a flow by a user 

Each flow makes available to the flow author two "called address" variables. Consumers and end users typically see these as phone numbers, but they can contain other identifies like a SIP address used for voice conversations over the Internet.

名前 タイプ コレクション? 読み取り専用 説明
Call.Campaign キャンペーン いいえ はい このフローのためのキャンペーン。      
Call.Campaign.id Campaign いいえ はい キャンペーンの識別子です。
Call.ContactList ContactList いいえ はい The contact list for this flow.
Call.ContactList.id ContactList いいえ はい The contact list identifier
Flow.WrapupCode WrapupCode いいえ はい フローのラップアップ コード。
Call.Contact 連絡先 いいえ はい フローがコールする連絡先。
Call.ContactId 連絡先 いいえ はい The ID of the contact to whom this flow is connected.

近日リリース予定

Call.UUIData

文字列 いいえ はい Reflects the user-to-user call information (UUI) set on the call.
Note: When you transfer a call from flow to flow, or when the flow disconnects, the value of this variable does not automatically follow to the next flow.

名前 タイプ コレクション? 読み取り専用 説明
Flow.HoldPrompt プロンプト いいえ はい The default hold prompt audio file for the flow.
Call.CurrentQueue キュー いいえ はい The current queue associated with the call.
Call.EstimatedWaitTime 接続時間 いいえ はい The current queue's estimated wait time for the call.
Call.PositionInQueue 整数  いいえ はい The call's current position in the queue.

近日リリース予定

Call.UUIData

文字列 いいえ はい Reflects the user-to-user call information (UUI) set on the call.
Note: When you transfer a call from flow to flow, or when the flow disconnects, the value of this variable does not automatically follow to the next flow.

名前 タイプ コレクション? 読み取り専用 説明
Email.ConversationID 文字列 いいえ はい The identifier of the active email interaction.
Email.Message メール いいえ はい The content of the email body.
Email.Message.autoGenerate メール いいえ はい Whether or not the email was auto-generated; for example, an out-of-office reply. 
Email.Message.attachments Collection はい はい The collection of email attachments on this email.
Email.Message.bcc Collection はい はい The collection of email addresses specified in the email's bcc (blind carbon copy) list.
Email.Message.body 文字列 いいえ はい The email body as plain text.
Email.Message.cc Collection はい はい The collection of email addresses specified in the email's cc (carbon copy) list.
Email.Message.dateTimeUtc DateTime いいえ はい The Coordinated Universal Time (UTC) datetime for the email.
Email.Message.from 文字列 No Yes

The email "from" address.

Retrieve the email address from it by using .id. Retrieve the name from it by using .name.

Email.Message.htmlBody 文字列 No Yes The email body as HTML.
Email.Message.id 文字列 No Yes A unique identifier for the email.
Email.Message.replyTo 文字列 No Yes The raw address to which replies to this email should be sent.
Email.Message.subject 文字列 No Yes The email subject.
Email.Message.to Collection はい はい The collection of email addresses specified in the email's "to" list.
Flow.IsDebug ブール値 違います はい Indicates if this flow is being run in debug mode.
Flow.IsTest ブール値 違います はい Indicates whether or not the flow is running in debug mode.
Flow.StartDateTimeUTC DateTime 違います はい フローが実行を開始したときの UTC datetime。
Flow.Version 文字列 違います はい アクティブなフローのバージョンです。
System.MaxInt 整数  違います はい Holds the maximum value allowed for an Integer, which is -999999999999999.
System.MaxDateTime DateTime 違います はい Holds the maximum value allowed for a Date Time, which is December 31st, 2200 at 11:59:59 p.m.
System.MaxDuration 接続時間 違います はい Holds the maximum value allowed for a Duration, which is 999999999999999 milliseconds (11574074 days, 1 hour, 46 minutes and 39.999 seconds).
System.MinInt 整数  違います はい Holds the minimum value allowed for an Integer, which is -999999999999999.
System.MinDateTime DateTime 違います はい Holds the minimum value allowed for a Date Time, which is January 1st, 1800 at 12:00:00AM.
System.MinDuration 接続時間 違います はい Holds the minimum value allowed for a Duration which is -999999999999999 milliseconds ( -11574074 days, -1 hour, -46 minutes and -39.999 seconds).

名前 タイプ コレクション? 読み取り専用 説明
Flow.InvocationData 文字列 いいえ はい The invocation data supplied when launching the flow.