Sqlnext

在使用 Sqlcursor action 啟動的多列查詢中擷取下一條記錄。

Dependencies

  • 如果未使用 Sqlcursoraction 開啟查詢,則 Sqlnext 不執行任何動作。
  • Loop action 通常用於重複調用 Sqlnext。只要有更多的資料需要擷取,就會觸發 Sqlnext 的預設分支條件。End Of Dataset分支條件會在 Sqlnext 執行且沒有剩餘記錄時觸發。
  • 如果從查詢中擷取三條記錄:
    • Sqlnext 將擷取第一列。
    • Sqlnext 的兩次重複將檢索接下來的兩列。
    • 第三次重複將觸發 Sqlnext 動作 End Of Dataset 分支條件。

Supported Script Types

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

The icon for the Email script type - a large @ symbol in a diamond.

The icon for the Chat script type - a chat bubble with an ellipsis inside (...), in a diamond shape.

The icon for the Phone script type - an old-style phone handset with curved lines indicating sound coming out of it.

The icon for the Voicemail script type - a symbol that looks like a cassette tape - two circles sitting on a horizontal line.

The icon for the Work Item script type-a piece of paper with one corner folded down and a bullet list on it.

The icon for the SMS script type - a smart phone with a chat bubble coming out of it.

The icon for the Digital script type - a computer monitor with a smartphone next to it.

一般

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

Input Properties

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

屬性

描述

Caption

輸入在指令碼中唯一標識此操作的短語。標題出現在指令碼畫布上的動作圖示下。The default is the action name.

TimeoutSec 動作超時前等待執行的秒數。值必須在060之間。

Result Branch Conditions

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

條件

描述

Default

指令碼未能滿足需要它採用其中一個分支的條件時採用的路徑。如果沒有定義動作的其他分支,也會採用該路徑。
EndOfDataset

最後一列已取回而 Sqlnext 已出現另一次時採用的路徑。

一旦觸發,資料集將自動關閉。在指令碼結束之前一直使用 Sqlclose