This method registers a new workflow action

Namespace: DotNetNuke.Entities.Content.Workflow.Actions
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
void RegisterWorkflowAction(
	WorkflowAction workflowAction
)
Visual Basic
Sub RegisterWorkflowAction ( 
	workflowAction As WorkflowAction
)

Parameters

workflowAction
Type: DotNetNuke.Entities.Content.Workflow.Actions..::..WorkflowAction
Workflow action entity

Remarks

This method checks that the WorkflowAction Source implements the IWorkflowAction interface before register it

Exceptions

ExceptionCondition
System..::..ArgumentExceptionThrown if the ActionSource does not implement the IWorkflowAction interface

See Also