AgileApps Support Wiki Pre Release

Difference between revisions of "History object"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 19: Line 19:
| Description || description
| Description || description
|
|
Varies, depending on the activity category.<br>For category 25 (audited field modified), the structure is:
Varies, depending on the activity category.<br>For category 25 (audited field modified), the structure is:<br>
{#structure-identifier^field label^old value^new value^00005}  
<tt>{#structure-identifier^field label^old value^new value^00005}</tt>
TBD: What is that number at the end?
 
Ex:
Example:
:{| border="0"
:{| border="0"
|
|
{#field_audit.recordname_modified_old_to_new<br>
{#field_audit.recordname_modified_old_to_new<br>
^#fieldlabel.c3a93f70aa004de6aeb5f9073eb1f759.subject<br>
^#fieldlabel.c3a93f70aa004de6aeb5f9073eb1f759.subject<br>
^old field value<br>
^Original case title<br>
^new field value<br>
^Revised case title <br>
^000005}<br>
^000005}<br>
|
internal identifier<br>
field identifier<br>
old value<br>
new value<br>
internal index
|}
|}
(If multiple audited  fields were modified during a record update, there is one history entry per field.)
(If multiple audited  fields were modified during a record update, there is one history entry per field.)

Revision as of 23:38, 11 November 2014

The History object keeps track of activities related to a record. In the UI, history is shown below the record details.

Fields

Label Field name Notes
Category category Identifies the type of activity.
For example:
  • 2 - Updated this case*
  • 4 - Closed this case
  • 11 - Completed this task
  • 25 - Changed field value* (only applies to Audited Fields
  • 29 - Added a note.
  • 61 - Sent mail
*Category 25 is used when a case field is modified. Category 2 does not appear to be used.

For a complete list, see GearIcon.png > Customization > Global Picklists > History Category'

Description description

Varies, depending on the activity category.
For category 25 (audited field modified), the structure is:
{#structure-identifier^field label^old value^new value^00005}

Example:

{#field_audit.recordname_modified_old_to_new
^#fieldlabel.c3a93f70aa004de6aeb5f9073eb1f759.subject
^Original case title
^Revised case title
^000005}

(If multiple audited fields were modified during a record update, there is one history entry per field.)

 
x y z