Add Item Group Items defined on the Workflow Type to the current Item Group but do not save the Workflow for a Version 1 Workflow.

<para> The Workflow will not be saved. </para> <para> WARNING: If an index of -2 is specified and this method is called from the "AfterItemAction" event, the current item will already have been moved on and the items will be inserted after this item. </para>

Syntax

finWorkflowFunctions.WorkflowAddItemGroupItemsFromWorkflowType(workflow, itemId, [index])

Parameters

NameTypeOptionalByRefDescription
workflow finWorkflow The Workflow to update.
itemId String The Id of the Item Group.
index Integer Optional The Index of the Item to insert this item before or -1 to add to the end or -2 to insert after the current item. If omitted, a value of -2 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