AgentList

此説明頁面適用於 Desktop Studio。 此資訊亦適用於 Studio。

工作流程執行圖示:齒輪和鎖匙

傳回指派給租戶Closed 用於管理您的 NiCE CXone 系統之技術性支援、帳單及全域設定的高層級組織分組。的所有客服專員,除非在包含每位客服專員設定檔資訊的陣列中。 可透過在 AgentID 屬性中輸入客服專員 ID,傳回特定客服專員的資訊。以下欄位將傳回至 ListVar 參數中指定的變數:

• BusinessUnitID • UserName
• MiddleName • Email
• TeamId • ReportToId
• ReportToMiddleName • IsSupervisor
• LastModified • Custom1
• Custom3 • Custom5
• AgentID • FirstName
• LastName • IsActive
• TeamName • ReportToFirstName
• ReportToLastName • LastLogin
• Location • Custom2
• Custom4 • InternalId

您可使用此動作檢查某位客服專員是否在線、尋找該客服專員的電郵地址、檢查其所屬的團隊或各種其他自訂選項。 客服專員名單是您可以在Studio內使用的其中一個資料提取 API。 您必須對業務單元啟用 Framework 動作和權限才能使用此動作。

相依性

請務必確保 SetSecurityUser 動作位於此動作之前,並且該動作的輸出變數符合Agent List動作屬性中的SecurityUser輸入變數。

支援的程式碼類型

The icon for a Generic script type - a rectangle with < and > symbols inside it.

電郵指令碼類型的圖示 - 菱形中的大 @ 符號。

聊天指令碼類型的圖示 - 帶有省略號 (...) 的菱形聊天氣泡。

電話指令碼類型的圖示 - 一種帶有彎曲電話線的老式電話聽筒,表示會發出聲音。

語音郵件指令碼類型的圖示 - 類似於盒式磁帶的符號 - 兩個圓圈位於一條水平線上。

``` 工作項目指令碼類型的圖示 - 有一個角向下折疊的紙張,上面有一個項目符號清單。 ```

SMS 指令碼類型的圖示 - 帶有聊天氣泡的智慧型手機。

通用

電郵 聊天 電話 語音郵件 工作項目 SMS

輸入屬性

這些屬性定義了動作執行時使用的資料。

屬性

描述

標題 ```

Enter a short phrase that uniquely identifies this action in the script. The caption appears on the script canvas under the action icon. The default is the action name.

```
SecurityUser SetSecurityUser 動作的輸出值,它根據選定客服專員在安全性設定檔中的權限對其進行身分驗證。 預設值為SecurityUser(與SetSecurityUser的預設輸出值相同)。 您不需要在此屬性中使用大括號({})。
AgentID 客服專員 ID。輸入 id 或類型以尋找特定客服專員。 您可以為此欄位使用變數,例如 {agentId}。 當空白時,所有與該業務單元相關的使用者將以陣列形式返回。 該欄位接受變數。

輸出屬性

這些屬性包含變數,用於儲存執行動作後返回的資料。 當動作完成後,它們可供參考和使用。

```

屬性

```

描述

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等等。