Carrot reference
Functions
jobFieldChanges()
return a sequence of changes for the current job, for the given field syntax single field jobfieldchanges(fieldcode, fromdate, untildate) multiple fields jobfieldchanges(\['fieldcode1', 'fieldcode2'], fromdate, untildate) parameters parameter type description field string docid\ ujw2aqaktel5uuklup73s the slug or id of a field from timestamp docid\ j1ufztc3 yprdi3ucin3u starting point of the date range to traverse (inclusive) until timestamp docid\ j1ufztc3 yprdi3ucin3u ending point of the date range to traverse (exclusive) return type sequence docid\ jg4itlqwafzlparttfo67 < job changes docid\ cipz7jxm4wxxpxmdx uwb > parameter type description change fieldcode string docid\ ujw2aqaktel5uuklup73s the value of the field that was updated by the change change date date docid\ xtaqdzvlbtakjxrnpfwe9 returns the data the that the change occured change type string docid\ ujw2aqaktel5uuklup73s will return one of create update or delete examples jobfieldchanges(basecomp, ' 5y') count() returns how many times the basecomp field has changed in the last 5 years for a specific job would return 3 if the person had 3 changes to their basecomp field in the time period jobfieldchanges(basecomp, '2024 01 01', '2025 01 01') returns a sequence of changes to the base comp field between 1/1/2024 and 1/1/2025 for a specific job jobfieldchanges(\[department,team,location], '2020 01 01', '2025 01 01') returns a sequence of all changes to the department, team, or location fields for a specific job jobfieldchanges('title') map{it update title} example return \["software engineer", "senior software engineer"] returns an array of all of the titles across the changes jobfieldchanges('title') map{date} example return \[2020 01 01, 2020 01 02] returns an array of all of the dates of that the changes occured on cqlt example template this would retun a table row with the date of the change and the field that was updated with the title function {% for change in jobfieldchanges('title') %} \<tr> \<td>{{change date}}\</td> \<td>{{change title}}\</td> \</tr> {% endfor %}