Execute a Workflow Event in the script.

<para> If an Object Events Script is defined on the Workflow Type, this will be called first and only if this does not return handled=True will the Workflow Type Script be called. </para> <para> If no Script is defined then this function will return True, ReturnValue will be set to True and eventHandled set to False. </para>

Syntax

finWorkflowTypeRO.ExecuteEvent(returnValue, workflow, eventId, eventHandled, workflowItem, parameters, [scriptContextData])

Parameters

NameTypeOptionalByRefDescription
returnValue Boolean ByRef The Return Value from the Script function.
workflow finWorkflow The Workflow.
eventId String The Id of the Event.
eventHandled Boolean ByRef Allows the Script to indicate that an Event has been Handled. This is only applicable to certain events.
workflowItem finWorkflowItem The Workflow Item that this event applies to, if applicable.
parameters ISKeyValueList Parameters supplied by the event.
scriptContextData ISKeyValueList Optional If omitted, a value of Nothing is assumed.

Return Value

Boolean

A Boolean value indicating success.

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