AgentList
此説明頁面適用於 Desktop Studio。 此資訊亦適用於 Studio。
|
|
傳回指派給租戶
您可使用此動作檢查某位客服專員是否在線、尋找該客服專員的電郵地址、檢查其所屬的團隊或各種其他自訂選項。 客服專員名單是您可以在Studio內使用的其中一個資料提取 API。 您必須對業務單元啟用 Framework 動作和權限才能使用此動作。 |
相依性
請務必確保
支援的程式碼類型
|
|
|
|
|
|
```
|
|
|
通用 |
電郵 | 聊天 | 電話 | 語音郵件 | 工作項目 | SMS |
輸入屬性
這些屬性定義了動作執行時使用的資料。
|
屬性 |
描述 |
|---|---|
| 標題 |
```
Enter a short phrase that uniquely identifies this action in the script. The caption appears on the script canvas under the action icon. |
| SecurityUser | SetSecurityUser 動作的輸出值,它根據選定客服專員在安全性設定檔中的權限對其進行身分驗證。 預設值為SecurityUser(與SetSecurityUser的預設輸出值相同)。 您不需要在此屬性中使用大括號({})。 |
| AgentID | 客服專員 ID。輸入 id 或類型以尋找特定客服專員。 您可以為此欄位使用變數,例如 |
輸出屬性
這些屬性包含變數,用於儲存執行動作後返回的資料。 當動作完成後,它們可供參考和使用。
|
```
屬性 ``` |
描述 |
|---|---|
| ListVar (輸出) | Holds the returned data. The contents of this variable are stored as an array. 預設變數為 Agents。 |
結果分支條件
結果分支條件允許您在指令碼中建立分支,以處理執行動作時的不同結果。
|
條件 |
描述 |
|---|---|
|
預設 |
Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined. |
|
OnError |
Path taken when the action fails to execute properly. For example, when there is an unexpected problem such as poor connectivity, syntax errors, and so on. The _ERR variable, with a single underscore character, should be populated with a condensed explanation of the problem. |
其他選項
根據您想要獲取的資料,其他的框架 API 動作可能會有所幫助。 例如,All Agent Skill Assignments、Agent States V4、Get Agents List、Get Agent Details by Agent ID等等。