Complete a Workflow Item. Does not fire any Script events such as 'BeforeItemAction' or perform any Outcome Actions (where applicable).

This ignores any Permission Key checks since it is for use in Scripts.

Syntax

finWorkflowExecutor.CompleteItem(workflowItem, [outcome], [statusNotes], [performUpdates])

Parameters

NameTypeOptionalByRefDescription
workflowItem finWorkflowItem The Workflow Item.
outcome String Optional The Outcome for the Workflow Item (where applicable, e.g., for 'Question' type Workflow Items). This is NOT validated against the Outcome Items defined for the Workflow Item.
statusNotes String Optional Any Status Notes to record against the Item.
performUpdates Boolean Optional Perform updates such as setting the Workflow's Flag Colour. If omitted, a value of True is assumed.

Return Value

Boolean

A Boolean value indicating success.

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