HistoryActivityFunctionsCreateHistory Method

Scanjour Workflow4 Reference Manual
Create an entry in the wzp_history register reporting an incudent in the workflow.

Namespace:  Scanjour.Workflow4.ActivityLibrary
Assembly:  Scanjour.Workflow4.ActivityLibrary_23.1.0.0 (in Scanjour.Workflow4.ActivityLibrary_23.1.0.0.dll) Version: 23.1.0.0 (23.1.0.0)
Syntax

public static string CreateHistory(
	ActivityContext context,
	string taskAction,
	string comment,
	bool show,
	string nameCode,
	string nameType = "M",
	string userTaskId = null,
	bool updateProxyUser = false
)

Parameters

context
Type: System.ActivitiesActivityContext
The activity context.
taskAction
Type: SystemString
The Action the task entry is reporting.
comment
Type: SystemString
A comment following the action.
show
Type: SystemBoolean
true if the entry is shown in the user task history log.
nameCode
Type: SystemString
Name code if the history entry is not generated by current user.
nameType (Optional)
Type: SystemString
Name type if the history entry is not generated by current user.
userTaskId (Optional)
Type: SystemString
The user task id for history entries regarding a user_task.
updateProxyUser (Optional)
Type: SystemBoolean
True if the proxy user is to be handled.

Return Value

Type: String
The key in the wzp_history table.
See Also

Reference