Set the Outcome of an 'Item Group', 'Question' type Workflow Item for a Version 1 Workflow.

<para> If multiple Outcome Items have the specified Outcome then each of these Outcomes will be actioned in turn. </para> <para> This item will be completed unless the Outcome is a 'Set Recall Date' type item in which case the Workflow's Recall Date will be set and this item's status will be set to 'Open'. </para>

Syntax

finWorkflowFunctions.WorkflowItemSetOutcome(workflow, workflowItem, outcome, statusNotes, [newWorkflowId], [saveWorkflow], [adhocLogCreationDetails])

Parameters

NameTypeOptionalByRefDescription
workflow finWorkflow The Workflow. This must be unmodified, i.e., IsDirty must be False unless saveWorkflow is specified as True.
workflowItem finWorkflowItem The Workflow Item to update.
outcome String The Outcome to set this item to.
statusNotes String
newWorkflowId String Optional ByRef The Id of a new Workflow if one was created.
saveWorkflow Boolean Optional Indicates whether to automatically Save the Workflow prior to actioning this item. If omitted, a value of False is assumed.
adhocLogCreationDetails finLogCreationDetails Optional Details of an ad-hoc Log record to create prior to actioning this item. If omitted, a value of Nothing is assumed.

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