Sqlnext

This help page is for Desktop Studio. This information is also available for Studio.

提取使用 Sqlcursor action 启动的多行查询中的下一条记录。

依赖关系

  • 如果尚未使用 Sqlcursoraction 打开查询,则 Sqlnext 不会执行任何操作。
  • Loop action 通常用于重复调用 Sqlnext。 只要有更多数据可供提取,Sqlnext 的默认分支条件就会被触发。 当 End Of Dataset 执行且无剩余记录存在时,Sqlnext 分支条件将被触发。
  • 如果从查询中提取三条记录:
    • Sqlnext 将获取第一行。
    • Sqlnext 的两次迭代将检索接下来的两行。
    • 第三次迭代将触发Sqlnext操作的 End Of Dataset 分支条件脱离。

支持的脚本类型

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 数字

输入属性

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

属性

说明

Caption

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

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

结果分支条件

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

条件

说明

Default

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

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

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