Action a Workflow Item for a Version 1 Workflow.

<para> The Workflow will be saved automatically. </para> <para> The Workflow Item (unless it is a Check List Item) must be in the current Workflow Item Group. </para> <para> If this is a 'Wait' type Item then any updated (flag colour etc) will be performed and the item will be closed regardless of whether the Recall Date and Time have been reached. </para> <para> Error messages will refer to items using a 1-based index since this is how the User will perceive the item's location in the collection. </para>

Syntax

finWorkflowFunctions.WorkflowItemPerformAction(workflow, workflowItem, statusNotes, [manualAction], [generatedRecordPk], [logCreationDetails], [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 action.
statusNotes String Notes to record against this Workflow Item.
manualAction Boolean Optional Indicates whether this item is being Manually Actioned. For Wait and Review type Actions, this will automatically complete them and clear the recall date if the item is currently 'Open'. If omitted, a value of False is assumed.
generatedRecordPk Integer Optional ByRef The primary key of the record generated by actioning this item, e.g., an Account Log's primary key. If omitted, a value of 0 is assumed.
logCreationDetails finLogCreationDetails Optional Log Creation Details for 'Log' and 'Outgoing Communication' type items. If omitted, a value of Nothing is assumed.
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