You need to sign in to do that
Don't have an account?
zeezackisback
Case/Claim history not working
I am trying to modify the timeline api, but I am not having much success.
sforce.connection.query( "SELECT Id, OldValue, NewValue, IsDeleted, Field, CreatedDate, CreatedById FROM Claim__History"+ " where ParentId = '{!Claim__c.Id}' order by CreatedDate ", layoutCaseHist );
Hey ya man,
Claim__History has a field called ParentId. It stores the actual claim id there.
I've been using eclipse to run the queries... it populates the claim id in parent id. but old value and new value are blank..
Claim__History
Id
IsDeleted
ParentId
CreatedById
CreatedDate
Field
OldValue
NewValue
Claim History
When I run the query it looks like this
- Now I would use Parent id to pull out the claim and find the status of that claim...but it won't report back the past Claim Status... so how the hell does it do it?
I could try and mimick that...on a different table. My company are only interested in just the claims..
Salesforce sets it up automatically when you request history tracking.
Hey ya Werewolf, its the same with CaseHistory
It populates the table with null values for oldvalue and newvalue ?