Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

GetWorkflowInfo

Use this function to retrieve information for a specified hierarchical Workflow process and step. The function will return an object with the following properties:

PropertyDescription

DimensionName

String indicating the name of the Approval Dimension

SymbolName

String indicating the symbol name of the hierarchical spec in the approval dimension for a specified stepname

Level

Number indicating the level of the hierarchical spec in the approval dimension for a specified stepname

Note: The GetWorkflowInfo function can be used against simple steps but the results for the DimensionName, SymbolName and Level will be blank, as they do not apply.

Syntax

GETWORKFLOWINFO(Process, Step[,Symbol])

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.

Syntax example

CREATE VARIABLE WFInfo[] AS String

SET VARIABLE WFInfo = GETWORKFLOWINFO(MonthEndProcess, "ABC Canada", E10000)

Published:

GetWorkflowInfo

Use this function to retrieve information for a specified hierarchical Workflow process and step. The function will return an object with the following properties:

PropertyDescription

DimensionName

String indicating the name of the Approval Dimension

SymbolName

String indicating the symbol name of the hierarchical spec in the approval dimension for a specified stepname

Level

Number indicating the level of the hierarchical spec in the approval dimension for a specified stepname

Note: The GetWorkflowInfo function can be used against simple steps but the results for the DimensionName, SymbolName and Level will be blank, as they do not apply.

Syntax

GETWORKFLOWINFO(Process, Step[,Symbol])

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.

Syntax example

CREATE VARIABLE WFInfo[] AS String

SET VARIABLE WFInfo = GETWORKFLOWINFO(MonthEndProcess, "ABC Canada", E10000)

For an optimal Community experience, Please view on Desktop