Skip to main content
Skip table of contents

AddHistory Method

Adds a history entry to the Process.  Use the history to notate import events in the process lifecycle that users or admins might need for troubleshooting or audit history.

public void AddHistory(string message);

Classes: Process


string message

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");


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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.