AgileApps Support Wiki Pre Release

Difference between revisions of "History object"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 1: Line 1:
The History object keeps track of activities related to a record. In the UI, history is shown below the record details.  
The History object keeps track of activities related to a record. In the UI, history is shown below the record details.  


In the history object, the <tt>category</tt> fields. Those values are defined in a global picklist. To see the full list, go to .
===Fields===
 
===History Fields===
:{| border="1" cellpadding="5" cellspacing="1"
:{| border="1" cellpadding="5" cellspacing="1"
!Label !! Field name !! Notes
!Label !! Field name !! Notes
|-
|-
| Category || category
| Category || category
| identifies the type of activities.<br>For example:
| Identifies the type of activity.<br>For example:
:* 2 - Updated this case'''*'''
:* 2 - Updated this case'''*'''
:*  4 - Closed this case
:*  4 - Closed this case
:* 11 - Completed this task
:* 11 - Completed this task
:* 25 - Changed field value'''*'''
:* 25 - Changed field value'''*''' (only applies to [[Audited Fields]]
:* 29 - Added a note.
:* 29 - Added a note.
:* 61 - Sent mail
:* 61 - Sent mail
Line 19: Line 17:


|-
|-
| x || y || z
| Description || description
|
Varies, depending on the activity category.<br>For category 25 (audited field modified), the structure is:
{#structure-identifier^field label^old value^new value^00005}
TBD: What is that number at the end?
Ex:
:{| border="0"
|
{#field_audit.recordname_modified_old_to_new<br>
^#fieldlabel.c3a93f70aa004de6aeb5f9073eb1f759.subject<br>
^old field value<br>
^new field value<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.)


|- <!-- SPACER ROW -->
|- <!-- SPACER ROW -->

Revision as of 23:34, 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} TBD: What is that number at the end? Ex:

{#field_audit.recordname_modified_old_to_new
^#fieldlabel.c3a93f70aa004de6aeb5f9073eb1f759.subject
^old field value
^new field value
^000005}

internal identifier
field identifier
old value
new value
internal index

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

 
x y z