Insert a 'Document' type Workflow Item into the collection.

Syntax

finWorkflowItems.InsertDocument(index, description, itemId, documentId, [automatic], [groupWithPrevious])

Parameters

NameTypeOptionalByRefDescription
index Integer The Index of the item to insert this item before or -1 to add to the end, -2 to insert before the current item (if this is the current Item Group), -3 to insert after the current item (if this is the current Item Group)
description String The Description.
itemId String The Id of this Item.
documentId String The Document Id.
automatic Boolean Optional Indicates whether this Item will run automatically. If omitted, a value of False is assumed.
groupWithPrevious Boolean Optional Indicates whether this Item should be Grouped with the Previous item i.e. it will only be executed if the previous item could not. If omitted, a value of False is assumed.

Return Value

finWorkflowItem

A finWorkflowItem object.

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