getCurrent2SFormInstance( )

Get the form instance number where the rule is currently being run.

Syntax

getCurrent2SFormInstance()

Parameters

None.

Return value

Number that indicates the two-section form instance number where the rule is being run.

Examples

Example 3-75 If this is the first instance, raise a query if aeDate is not entered

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