getCurrent2SFormInstance( )

获取当前正在运行规则的表单实例编号。

语法

getCurrent2SFormInstance()

参数

无。

返回值

指示运行规则的两部分表单实例编号的编号。

示例

示例 3-75 如果这是第一个实例,则在未输入 aeDate 时引发查询

// If this is the first instance, raise a query if aeDate is not entered
 
 
return (getCurrent2SFormInstance() == 1 && aeDate === null)?false:true;