Method that is called when user clicks "Send" button. Can e.g. be used to invoke event on custom service

Namespace:  EPiServer.WorkflowFoundation.UI
Assembly:  EPiServer.WorkflowFoundation (in EPiServer.WorkflowFoundation.dll) Version: 6.0.530.0

Syntax

C#
bool InvokeEvent(
	Guid workflowInstanceId,
	int taskId,
	string eventQualifiedName
)

Parameters

workflowInstanceId
Type: System..::.Guid
workflow instance
taskId
Type: System..::.Int32
id of related task
eventQualifiedName
Type: System..::.String
The Qualified name of the event activity that specified usercontrol

Return Value

true if task should be deleted, else false

Remarks

Before InvokeEvent are called Page.IsValid() is called so any custom validators will have chance to validate input. Since other actions might cause validation as well, validators might get called several times.

See Also