CONNECTAUTH

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

一個公插頭和一個母插頭相鄰。

允許您使用在 Integration Hub 中的連接中配置的驗證詳細資訊。 雙擊此動作會開啟Integration Hub,您可以在其中配置您想讓此動作使用的連接整合。

相依性

  • 此動作需要Integration Hub。
  • 此動作通常與 ConnectRequest 動作一併使用。
  • 指令碼中此動作的每個執行個體都可以驗證一個連接。 開啟Integration Hub,然後按一下選擇圖示An icon of a circle with a  checkmark in it. ,將您想要的連線指派給此動作。
  • 此動作要求整合連接已配置了驗證操作。 您可以在Integration Hub中建立一個。

支援的程式碼類型

一個正方形,其上有一條通往其他三個正方形的分支線。

Icon of gray-green envelope

深綠色語音氣泡圖示

Icon of purple telephone handset

鏽色留言符號圖示,由兩個以線條相連的圓形組成

Icon of pink document with lines of text

Icon of green mobile phone with a speech bubble on its screen

通用

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

輸入屬性

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

屬性

描述

新增標題

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

connectName

定義用於此動作的特定連接。 必須使用驗證詳細資訊對連接進行配置。 可以點擊兩下此動作,從Integration Hub指派一個連接器。

輸出屬性

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

屬性

描述

authBodyVarName (out) 保留請求的授權機構的變數。 預設值為 authBody。
authErrorDetailsVarName (輸出) 在發生錯誤時,保留該請求的錯誤詳細資料。預設值為 authErrorDetails。
authHeadersListVarName (out) 保留授權標頭清單。 預設值為 authHeadersList。
authProxyVarName (out) 保留授權代理。 預設值為 authProxy。

結果分支條件

結果分支條件允許您在指令碼中建立分支,以處理執行動作時的不同結果。

條件

描述

預設 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.
OnSuccess

動作完成且無錯誤而且任何 API 調用或資料返回均成功時採用的路徑(2xx 回應代碼)。

OnError

動作未能正確執行時採用的路徑。 例如,出現意外問題(例如,語法錯誤、HTTP 錯誤碼等)時。 ERR變數應填上針對問題的簡要說明。

OnTimeout

如果在Integration Hub的請求配置中所定義的毫秒數內,請求無回應時所採用的路徑。