Adds a log comment regarding a specific workflow

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

Syntax

C#
void AddWorkflowLog(
	int contentItemId,
	int workflowId,
	string action,
	string comment,
	int userId
)
Visual Basic
Sub AddWorkflowLog ( 
	contentItemId As Integer,
	workflowId As Integer,
	action As String,
	comment As String,
	userId As Integer
)

Parameters

contentItemId
Type: System..::..Int32
Content item Id related with the log
workflowId
Type: System..::..Int32
Workflow Id owner of the log
action
Type: System..::..String
Custom action related with the log
comment
Type: System..::..String
Comment to be added
userId
Type: System..::..Int32
User Id who adds the log

See Also