The method gets the action message that will be sent to notify the users depending on the type of action i.e.: with action type Complete Workflow the action message represents the notification sent to the user that started the workflow

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

Syntax

C#
ActionMessage GetActionMessage(
	StateTransaction stateTransaction,
	WorkflowState currentState
)
Visual Basic
Function GetActionMessage ( 
	stateTransaction As StateTransaction,
	currentState As WorkflowState
) As ActionMessage

Parameters

stateTransaction
Type: DotNetNuke.Entities.Content.Workflow.Dto..::..StateTransaction
State transaction dto
currentState
Type: DotNetNuke.Entities.Content.Workflow.Entities..::..WorkflowState
Workflow state that represent the current state after the workflow action

Return Value

Action message that the engine will use to send the notification

See Also