Close a Workflow.

The finWorkflowClose class is the preferred way to close a Workflow. This method exists as a simpler way for Scripts to Close Workflows.

Syntax

finWorkflowFunctions.WorkflowStatusClosePk(workflowPk, closedLocalDate, outcome, notes, cancelled)

Parameters

NameTypeOptionalByRefDescription
workflowPk Integer The primary key of the Workflow.
closedLocalDate Date The Close Date as a local Windows Date/Time.
outcome String The Outcome.
notes String Notes.
cancelled Boolean Indicates whether this Workflow is being Cancelled.

Return Value

Boolean

A Boolean value indicating success.

Member of:
finWorkflowFunctions
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0