Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [field-history]

You can select certain fields to track, and display the field history in the History related list of an object. You can track the field history of custom objects, as well as the history of the following standard objects:

2
votes
1answer
56 views

How to track Account Description field changes in Field history Tracking?

I'm trying to track history of Account Description field. Related list just shows it has changed, but seems no value changes being tracked. Tried to query using SOQL, but it doesn't give any value ...
2
votes
0answers
23 views

Field History object - value of column “Field” when tracked field is lookup (standard v custom)

I'm trying to selectively delete an SObject's field histories based on the members of an sobject's fieldset (think PII deletion - feature available V42). Example: OOTB Order with field set containing:...
1
vote
0answers
14 views

Having trouble accessing updated Contact.Histories in unit test [duplicate]

I have a custom object to manage patient (Contact) status changes, which affect product shipments. I'm adding a process to roll back changes based on receiving a cancelled form, based on a common ...
1
vote
1answer
16 views

Use Field History Reports For Daily Values When No Change Occurrs

I'm trying to use Field History reporting to provide daily, weekly, monthly counts of a field for a record which gets updated every day but the field in question may not get updated the whole time, ...
0
votes
0answers
38 views

Is it possible to create a report with Cases, Milestones and Case History?

I've wondered if there's a way to create a joined report (where the common object is the case), but when creating the Cases with Milestones report, I get the option to add a report type, but the Cases ...
3
votes
1answer
104 views

Are there any limits on field history tracking?

If I have a record that is updated every 5 minutes, and I have field history enabled on the field changing, will I run into any field history tracking limits? Ex. Does Salesforce only store X number ...
2
votes
1answer
69 views

How to query on tracked field data?

I would like to know how I can query on tracked fields in all objects? I have org with 50 objects that have tracked fields. Now I wanted to know how much data used as tracking history for particular ...
3
votes
1answer
73 views

Deleting ActivityHistory and FieldHistoryArchive

I Am trying to delete both ActivityHistory and FieldHistory archive but have run into the below errors: DML operation Delete not allowed on List<ActivityHistory> DML requires SObject or ...
-1
votes
1answer
90 views

How to show Knowledge article list History in Search Bar [closed]

I have created list of Knowledge articles in articles management standard object. i need to show that articles list in search bar when i am searching for related questions/data that time i need to ...
1
vote
0answers
30 views

Account history does not show Created event

For some reason, the accounts that are created by our custom form on our Lightning Community does not show the "Created" entry on the Account History section. It shows the account was created by the ...
0
votes
1answer
341 views
0
votes
1answer
65 views

Custom field history tracking on partial update?

I would like to track more than 20 fields on my custom objects, so built a logic almost same as What is the best workaround for the 20 field history tracking cap?. This works most of the time if you ...
1
vote
1answer
128 views

Tracking Address Changes - 10+ Years

I am reviewing a request to track changes performed on the address field and some other custom fields on the contact object for long periods of time. I have evaluated Field Tracking History and Field ...
0
votes
2answers
514 views

Can't track changes on a Rich Text Area field with Field History Tracking enabled

I have a scenario, where I would like to track the changes on a Rich Text Area field. Step 1 After enabling the field history tracking on the Opportunity(that is my target object), I check the ...
1
vote
2answers
374 views

Tracking History of changes in Custom fields of custom objects

I want to track the history of 5 fields in custom object. I have selected the Track History checkbox against the corresponding fields in Custom Fields & Relationships section of the object.Still,...
-2
votes
1answer
248 views

Edit stage history fields

In lightning I need a way to custom the 'stage history' fields. The stage history present the 'amount' field, and I need to replace it with 'other_custom_opportunity_amount'. I can't locate the ...
0
votes
0answers
25 views

When are history records created

Two types of transactions work on a set of records. First type selects records that don't have a flag set and sets it. The second transaction selects those records that have a flag set and removes the ...
1
vote
1answer
49 views

Field History tracking analysis

I am trying to provide some analysis to identify how times in a given time frame the account key fields changes. I know that there is a native sfdc report that provides you that information, however ...
1
vote
1answer
274 views

How to use custom Field History Tracking in Einstein Analytics?

We have a custom object in our organisation with field level tracking enabled. I seem to be able to add the history tracking object to my data model. However, when I try to save the dataset, I get ...
0
votes
0answers
34 views

Is it possible to use history tracking with object fields in a report?

For example, record has a number field with a value that can vary a lot, and I want the history of that field on my report. The object is related to the Account and Product objects, so I'd like to ...
7
votes
4answers
1k views

Field history tracking - data retention

The field history is important to our organisation and I need to retain it indefinitely. According to the field history tracking documentation, the field history is automatically deleted after 18 ...
0
votes
1answer
150 views

History tracking of object

I have custom object on which history traking in enabled on number of fields. How can at run time i can get number of fields in objects on which history tracking in enabled from apex soql
0
votes
1answer
232 views

Report on field history

I would like to get a report on Salesforce Object History for some of the fields that I have tracked. But I didn't see the action field in the report. An example of object history; Date | User | ...
2
votes
1answer
126 views

Can the tooling API turn off field tracking history?

Can the tooling API turn off/on field tracking history? Seeing as we can't delete history record I want to be able to turn it off before a process runs to prevent history records being created. The ...
1
vote
1answer
78 views

History tracking

What's the difference between Field History Tracking, which needs to be activated and works only for 20 fields per object and History tables like AccountHistory, CustomObject__History ? Why would I ...
1
vote
1answer
57 views

Is the query on object history slower than the query on the object itself?

The object which has the history tracking enabled in my organization is being modified 3 to 4 times a day, so we end up with 112 history records per month. I have a page that queries the history and ...
1
vote
0answers
35 views

Object Feed Tab Default - Details Tab Instead - Chatter Feed Tracking

Does unchecking "Enable Feed Tracking" effectively make it so when you visit a record on (example) Account, it now defaults to the DETAILS tab instead of the FEED tab? Where:   Setup >> Chatter >...
1
vote
1answer
516 views

Tracking changes to Lead fields: feed tracking or history tracking

I have a class that updates Lead objects based on some conditions. I want to track changes like owner, lead status and display it to the user like a feed. e.g., when a lead owner changes because of a ...
2
votes
2answers
267 views

How to Find History Tracking or Audit Log field in Custom object

I have a custom object and I have enabled the checkbox Tract Field History my question is, how can you show your tracking field histroy in Visualforce Page? I need a way to show the customer what has ...
3
votes
1answer
58 views

How can I add Custom Fields that I need to be included in Opportunity Field History when they are changed/updated?

Right now I have Budget fields, say Budget Field 1, 2, and 3. When I update these budget fields, Opportunity Field History does not capture the updated information that was input into these fields. ...
0
votes
1answer
239 views

Field History tracking limit

I know that we could track 20 standard and custom fields from custom objects. I thought we cannot track more than 20 fields per object. But in sandbox, i have a custom object where there are more ...
1
vote
1answer
103 views

How to get value of : First user who accepted the ownership of Lead from particular queue

In my sandbox when a new lead is created its assigned to a TCC queue. Then someone from TCC team queue will accept the ownership of queue. Now i want to see report of : who accepted how many Leads ...
1
vote
1answer
821 views

What is the difference between trackHistory and trackFeedHistory?

If we look at the XML for a specific Object and inspect a random field, there is both trackHistory and trackFeedHistory <fields> <fullName>AccountId</fullName> <trackHistory&...
0
votes
1answer
384 views

History tracking for Formula fields

Formula fields can't be enabled for history tracking. There's a workaround where a new date/time field has to be created for every formula field with formula as now() which would be updated via a ...
3
votes
1answer
2k views

How to know what are the limits for Shield history tracking in salesforce

We recently have Shield enabled in our organsiation, we want to check if number of fields allowed for history tracking are same in sandboxes or differnt, IS ther any simple way where we can check ...
0
votes
1answer
193 views

Fields of history object [duplicate]

Can someone list the fields in history object? Since I wanted them to display in a page block in vf page despite using history related list.
1
vote
0answers
25 views

Record Historical Value and Compare Values of Numerical field

I have a numerical field called Score on Account Object. This value changes frequently. For any given account I would like to be able to calculate the delta between the change between different time ...
1
vote
1answer
87 views

Checking and querying histories from REST API Query

I've been reading up on queries via the API. This post here on histories from custom objects and how to make sub-queries have been very useful. I'm doing blind iterations through the schema - ie, the ...
0
votes
0answers
40 views

Tracking history object and assigning value to a list - Query

Here Role is a related object to Account . Hence , multiple records will be there . So fetching all the latest values from each record. In the list , I have collected the last value of the ...
0
votes
3answers
2k views

Field History Tracking - Finding value on a particular date?

I am querying the Newvalue/Createddate from the History object in Field tracking. SELECT ID, (SELECT Id, Field, OldValue, NewValue FROM Histories where field ='Status' ...
3
votes
0answers
55 views

How to find who updated a non tracking field?

As the title says my question is simple, I am looking for a way to find who updated a particular field for which history tracking is not enabled. From the docs, it seems we can get this information ...
1
vote
1answer
153 views

Show Opportunity Fields History for users with no Opportunity object access

We redesigned our org recently to move away from CRM standard objects (e.g. Opportunity, Product) in order to utilize a cheaper force.com licenses. But one of the issues was an inability to migrate ...
1
vote
1answer
30 views

Why does a history tracking report not show any records for a particular user?

Two users with the same security settings/roles do not get the same records in a history tracking report (they have access to the same records). More specifically; one of them does not see any records ...
1
vote
2answers
56 views

Can I view field history tracking for the documents object?

I cannot find the object to create a report type. I'd like to track the who changed / replaced a document
3
votes
0answers
800 views

Account Field History Exceeding limit

Did something change regarding standard object field history tracking? I just refreshed my sandbox, I'm tracking less than 20 fields on Account (currently 17). When I try to deploy account object ...
1
vote
0answers
111 views

ownerAssignment - Troubleshooting Lead Assignment

Our company is testing out a chat software from Olark. The objective is to create leads from interested prospects. The initial frustration is that while the chat software can create a lead, it doesn't ...
0
votes
1answer
288 views

Values in Field History Object

In the history (in pic below) of my custom object which has a reference to another custom object how can i access old and new values for the field which references another object. Event__c is a ...
1
vote
0answers
132 views

FieldHistoryArchive

I am trying to enable Field Audit Trail and have two questions regarding the FieldHistoryArchive object 1) I can't seem to find the 'FieldHistoryArchive' from object dropdown in workbench after ...
0
votes
1answer
57 views

Adding to field audit of a custom object

I am trying to add records to the field audit of a custom object using apex trigger ? Should I use the fieldHistoryarchive object or the (customobject)history object? Can anyone provide an example?
1
vote
3answers
256 views

Current data storage usage issue.

I have an old salesforce org that I have kept alive with one license remaining. I have deleted all further data except Account , Contacts, Opportunity. After Deletion of the data I calculate Current ...