Add Item Group to the Workflow from those defined on the Workflow Type but do not save the Workflow.

<para> The Workflow will not be saved. </para> <para> If an item with the same Id as this Item Group, a sequence number will be appended to the Item Id of the newly added Item Group. </para>

Syntax

finWorkflowExecutor.AddItemGroupFromWorkflowType(itemId, skipCurrentItemGroup, [index], [userInvoked])

Parameters

NameTypeOptionalByRefDescription
itemId String The Id of the Item Group.
skipCurrentItemGroup Boolean Indicates whether to Skip the Current Item Group and any unactioned items within it.
index Integer Optional The Index of the Item Group to insert this item before or -1 to add to the end. If omitted, a value of -1 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