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

GetWorkflowStatus

Use this function to retrieve the status of a specific step within a Longview Workflow process. Review the following table for a summary of possible return values and their corresponding status.

Return value Longview Workflow Status

-1

(Failed)

Note: Failed indicates the Longview Application Framework function did not execute properly or encountered an issue.

0

Not Started

999

Rejected

1000

In Progress

2000

Submitted for Approval

3000

Approved

Syntax:

GetWorkflowStatus(Process, Step[, Symbol])

where:

  • Process is the name of the Longview Workflow process for which to return the status. 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 unless the specified step is hierarchical, and is the symbol for the step.

Syntax example:

GetWorkflowStatus(MonthEndProcess, "ABC Canada")

Syntax example:

GetWorkflowStatus(MonthEndProcess, "ABC Canada", E11111)

Published:

GetWorkflowStatus

Use this function to retrieve the status of a specific step within a Longview Workflow process. Review the following table for a summary of possible return values and their corresponding status.

Return value Longview Workflow Status

-1

(Failed)

Note: Failed indicates the Longview Application Framework function did not execute properly or encountered an issue.

0

Not Started

999

Rejected

1000

In Progress

2000

Submitted for Approval

3000

Approved

Syntax:

GetWorkflowStatus(Process, Step[, Symbol])

where:

  • Process is the name of the Longview Workflow process for which to return the status. 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 unless the specified step is hierarchical, and is the symbol for the step.

Syntax example:

GetWorkflowStatus(MonthEndProcess, "ABC Canada")

Syntax example:

GetWorkflowStatus(MonthEndProcess, "ABC Canada", E11111)

For an optimal Community experience, Please view on Desktop