Support Article

History-Add method sets the Description column as blank

SA-25377

Summary



The History-Add method is not populating the description.

In the Audit > History tab of the affected work object, the "Time" and "Performed By" columns are populated, but the "Description" column is blank for the affected entry.


Error Messages



Not Applicable.

Steps to Reproduce

Use the History-Add method to add an entry for a work object.

Root Cause



An issue in the custom application code or rules.

Resolution



The History-Add method has the following method parameters:
ForOperatorID, HistoryMemo, RuleAction, Category, and MessageKey.


Developer was not passing a valid value for the Category method parameter.

The Category method parameter should be the name of the 'Field' for Field Value translation. Note that "pyHistoryMemo" is the default value.
 

Published July 7, 2016 - Updated July 29, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.