HistoryActivityFunctionsCreateHistory Method
Create an entry in the wzp_history register reporting an incudent in the workflow.
Namespace: Scanjour.Workflow4.ActivityLibraryAssembly: 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)
public static string CreateHistory(
ActivityContext context,
string taskAction,
string comment,
bool show,
string nameCode,
string nameType = "M",
string userTaskId = null,
bool updateProxyUser = false
)
Public Shared Function CreateHistory (
context As ActivityContext,
taskAction As String,
comment As String,
show As Boolean,
nameCode As String,
Optional nameType As String = "M",
Optional userTaskId As String = Nothing,
Optional updateProxyUser As Boolean = false
) As String
public:
static String^ CreateHistory(
ActivityContext^ context,
String^ taskAction,
String^ comment,
bool show,
String^ nameCode,
String^ nameType = L"M",
String^ userTaskId = nullptr,
bool updateProxyUser = false
)
static member CreateHistory :
context : ActivityContext *
taskAction : string *
comment : string *
show : bool *
nameCode : string *
?nameType : string *
?userTaskId : string *
?updateProxyUser : bool
(* Defaults:
let _nameType = defaultArg nameType "M"
let _userTaskId = defaultArg userTaskId null
let _updateProxyUser = defaultArg updateProxyUser false
*)
-> string
- 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.
StringThe key in the wzp_history table.