Message to add to the process history.
The following example demonstrates adding a message to the history of a process within the database.
var process = Database.GetProcessById(1); process.AddHistory("New history message"); Database.UpdateProcess(process);
This method alters the process object in memory, and is primarily intended to be used on processes returned from the Database class or spawned from the CreateProcess method. The messages added by this method will not reflect back to interfaces such as the Batch Manager until it is saved back to the database.
If you are intending to provide live updates to an executing process, use the LogHistory method instead.