HistoryActivityFunctionsCreateHistory Method

Create an entry in the wzp_history register reporting an incudent in the workflow.

Definition

Namespace: Scanjour.Workflow4.ActivityLibrary
Assembly: Scanjour.Workflow4.ActivityLibrary_24.4.0.0 (in Scanjour.Workflow4.ActivityLibrary_24.4.0.0.dll) Version: 24.4.0.0 (24.4.0.0)
C#
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  ActivityContext
The activity context.
taskAction  String
The Action the task entry is reporting.
comment  String
A comment following the action.
show  Boolean
true if the entry is shown in the user task history log.
nameCode  String
Name code if the history entry is not generated by current user.
nameType  String  (Optional)
Name type if the history entry is not generated by current user.
userTaskId  String  (Optional)
The user task id for history entries regarding a user_task.
updateProxyUser  Boolean  (Optional)
True if the proxy user is to be handled.

Return Value

String
The key in the wzp_history table.

See Also