ExecuteRoleWorkflowQuery

Mon 01 January 2018

Syntax

ExecuteRoleWorkflowQuery(RoleName, BindVars)

where BindVars is an arbitrary-length list of bind variables in the form:

bindvar1 [, bindvar2]. . .

Description

Use the ExecuteRoleWorkflowQuery function to execute the Workflow Query rule for the role rolename , passing in BindVars as the bind variables. This function returns an array object containing the appropriate user members (UserIds).

Parameters

Field or Control

Definition

RoleName

Specify the name of an existing role.

BindVars

A list of bind variables to be substituted in the query.

Returns

An array object containing the appropriate UserIds.