Skip to main content
phaneendhar_lingam
Contributor ⭐️⭐️⭐️
Jul 15, 2020 11:44 AM UTC
Development

History Tracking for MDA Objects

Related products:CS Rules Engine

History tracking data is important for  trend analysis/ forecasting. But, there could be some objects where we are required to maintain just the snapshot data. For example in standard objects like Company/ User or any custom objects – In Company, when did the CSM change or what was the previous ARR?

As of today, we do not have the luxury of keeping historic changes in Gainsight but with the help of rules/ objects we can still accomplish this.

 

For demonstration – I’ve created the object ‘Kite Info’, which is loaded around 7am daily.

Schema as follows,

{*Kite Id(String); Kite Name(String); Kite Date (Date); Kite Value (Number); Kite Location (String) }

*Kite Id is the identifier field.

I’ve created a backup object that has only those fields which require history tracking(along with the Identifier) – ‘Kite Info Bkp’. This object is loaded 10am daily.

But, for the first time – data from ‘Kite Info’ is loaded once ‘Kite Info Bkp’ is created.

{*Kite Id(String); Kite Date (Date) ; Kite Value (Number);  Kite Location (String) }

*Kite Name is consistent hence not required for tracking.

 

Rule Name -> ‘Load Kite Info Backup’, scheduled to run at 10am

Load all the values from ‘Kite Info’ to ‘Kite Info Bkp’ with Upsert operation and Identifier ‘Kite Id’

 

History Tracking object – ‘Kite Info History’

 

Column Name

DataType

Kite Id

String

Kite Date New

Date

Kite Date Old

Date

Kite Value New

Number

Kite Value Old

Number

Kite Location New

String

Kite Location Old

String

Kite Date Changed

Boolean

Kite Value Changed

Boolean

Kite Location Changed

Boolean

Changed Date

Date

 

History Tracking Rule Setup,

Rule Name à ‘Kite History Tracking’ ; Scheduled to run at 9am daily.

“Timing of this rule is of highest importance – this should be scheduled to run after the source ‘Kite Info’ is reloaded but before the backup object ‘Kite Info Backup’ is refreshed.

In the Merge task, I’m doing inner join on Kite Id.

 

Fields in the Transformation task ‘Change Capture’ are as follows,

  • Those with prefix ‘new’ are from ‘Kite Info’
  • Those with prefix ‘old’ are from ‘Kite Info Bkp’

Field List – Kite Id, Kite Date Old, Kite Date New, Kite Date Changed and similarly for Kite Value and Kite Location

Case statement,

When ‘Kite Value New’ not equals ‘Kite Value Old’ then ‘Kite Value Changed’ is True

Similarly for Kite Date and Kite Location.

I’m introducing another case field as,

When

‘Kite Value New’ not equals ‘Kite Value Old’ (OR)

‘Kite Date New’ not equals ‘Kite Date Old’ (OR)

‘Kite Location New’ not equals ‘Kite Location Old’

Then ‘Changes Made’ is True

Only if the above value true, a record will be considered for inserting into History tracking object.

 

Loading into History Tracking object is of INSERT type action, as we have to capture all the changes being done.

60 replies

Contributor ⭐️⭐️⭐️⭐️⭐️
Aug 9, 2023 2:29 PM UTC

@Bhawya - Any update on this?

 

Translate
Muthu Kumar Karuppiah
spencer_engel
Expert ⭐️
Aug 21, 2023 1:41 PM UTC

I don’t want to speak for everyone else in this thread, but I know I’ve been patiently waiting for an update on this for a while. I’d really rather not build out a complicated rule that tracks who’s modified certain fields if the Gainsight product will eventually have this capability built in. Any idea if this is still on the roadmap?

Translate
ahelminski
Gainsight Employee ⭐️
Gainsight Employee ⭐️
Aug 21, 2023 2:29 PM UTC

@jake_ellis Can you help with an update on this, please and thank you! 

Translate
Shilpa Gumnur
Helper ⭐️
Aug 24, 2023 1:19 PM UTC

This functionality is being considered for development but I don’t have any dates to communicate.

Translate
jenniferpa
Helper ⭐️
Aug 28, 2023 2:51 PM UTC

Are there any updates for when field change tracking/history will be available?

Translate
jenniferpa
Helper ⭐️
Aug 28, 2023 2:55 PM UTC

Please disregard my last, missed page 2. 😔

Translate
Contributor ⭐️⭐️
Oct 24, 2023 7:58 PM UTC

Can someone confirm whether this is on the roadmap?

Translate
Shilpa Gumnur
Helper ⭐️
Nov 21, 2023 11:40 AM UTC

Hello all, this is moved to a later point in the roadmap, unfortunately I do not have any dates to mention. 

Translate
Contributor ⭐️⭐️
Jan 2, 2024 9:52 PM UTC

We would also really like an easier fix for this, specifically for historical tracking on CTA Ownership changes.

Translate
anirbandutta
Expert ⭐️
Jan 3, 2024 5:34 AM UTC
New Idea→Parked
Translate
It's an opportunity for engagement