GetWorkflowUserRole
Use this function to retrieve a list of user roles for a specified Workflow process and step. The function will return a list indicating whether the currently connected user is an OWNER or APPROVER of the specified step. If the user is both an OWNER and APPROVER, then both roles are returned in the list.
where:
- Process is the name of an active Workflow process. If the process name contains spaces, enclose it in double quotation marks (" ").
- Step is the name of the Longview Workflow step within the process. If the step name contains spaces, enclose it in double quotation marks (" ").
- Symbol is optional for hierarchical steps, and is the symbol for the hierarchical step. Symbol is not used for simple steps.
Copy
Syntax example
CREATE VARIABLE WFRole[] AS String
SET VARIABLE WFRole = GETWORKFLOWUSERROLE(MonthEndProcess, "ABC Canada", E10000)