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.

通用

电子邮件 聊天 电话 语音信箱 工作项目 短信 数字

Input Properties

这些属性定义操作在执行时使用的数据。

属性

说明

Caption

输入在脚本中唯一标识此操作的短语。标题显示在脚本画布上的操作图标下方。The default is the action name.

TimeoutSec 操作在超时之前等待执行的秒数。该值必须介于 060

Result Branch Conditions

结果分支条件允许您在脚本中创建分支,以在执行操作时处理不同的结果。

条件

说明

Default

除了脚本满足条件要求其接受其他分支的情况之外,所要采用的路径。如果未定义操作的其他分支,也会执行此操作。
EndOfDataset

获取最后一行并且再次出现 Sqlnext 时所采用的路径。

一旦触发,该数据集将自动关闭。脚本结束前,请始终使用 Sqlclose