Add Item Group Items defined on the Workflow Type to the current Item Group but do not save the 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. Therefore, specify an index of -3 if required. </para>

Syntax

finWorkflowExecutor.AddItemGroupItemsFromWorkflowType(itemId, [index], [userInvoked])

Parameters

NameTypeOptionalByRefDescription
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, -2 to insert after the current item or -3 to insert before the current item. If omitted, a value of -2 is assumed.
userInvoked Boolean Optional Indicates whether the User has manually invoked adding an Item Group, e.g., from the Workflows form. If True, a Recent Action will be recorded. If omitted, a value of False 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