Skip to main content
phaneendhar_lingam
Contributor ⭐️⭐️⭐️
July 15, 2020
Development

History Tracking for MDA Objects

Related products:CS Rules Engine
  • July 15, 2020
  • 60 replies
  • 2915 views

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 ⭐️⭐️⭐️⭐️⭐️
July 7, 2022

Does the workaround described in the case work for Success Plans a well? Or would the new functionality pending release in Q3 2022 be applicable to Success Plans?

bradybluhm
Gainsight Employee ⭐️⭐️
July 27, 2022

@vritant Any updates on the timeline of this? I have a few customers tracking it who are curious.

AI on my mind!
Contributor ⭐️
September 6, 2022

@vritant @Bhawya, good news about this feature ? 🙏

vritant
Gainsight Employee ⭐️
Gainsight Employee ⭐️
September 13, 2022

While we are actively working on History Tracking and have made significant progress, This will not be available by Q3 2022. We will update the thread as soon as we have clarity on the release date.

Contributor ⭐️⭐️⭐️
October 10, 2022

Any updates on this, I would think it’s really quite necessary to track history on fields within GS objects similar to how SFDC can track history to show when/who/what was changed in a field on a object.

Contributor ⭐️⭐️
February 10, 2023

Any update on this??

Deja Sconiers
bradybluhm
Gainsight Employee ⭐️⭐️
February 24, 2023

@vritant Can you provide an update on this? I have a customer asking about this.

AI on my mind!
manu_mittal
Gainsight Employee ⭐️
Gainsight Employee ⭐️
February 24, 2023

First off, I want to acknowledge that the solutions I’m about to share don’t completely solve for standard objects — that is still on our roadmap for this year — but I’m sharing in case some people find them helpful. 

There are two current capabilities that can help:

  1. For low volume custom objects, we do capture and show data changes in Data Management. 
  2. For critical Company level changes, such as CSM and ARR, automatic milestones can be very helpful. There are many that are available by default and just need to be turned on (no rules needed). These are reportable from the activity object, and also show up in the Customer Journey widget in the new 360.

Thanks,

Manu

andreammelde
Helper ⭐️⭐️
June 20, 2023

@darkknight Yes, History tracking is a part of our roadmap. You would be able to select fields to track data changes over a time period.

Will keep you posted on the release plan.

 

Thank you

Preethi

Is this actually on the roadmap? This was two years ago and it hasnt happened

Andrea Carroll
andreammelde
Helper ⭐️⭐️
June 20, 2023

First off, I want to acknowledge that the solutions I’m about to share don’t completely solve for standard objects — that is still on our roadmap for this year — but I’m sharing in case some people find them helpful. 

There are two current capabilities that can help:

  1. For low volume custom objects, we do capture and show data changes in Data Management. 
  2. For critical Company level changes, such as CSM and ARR, automatic milestones can be very helpful. There are many that are available by default and just need to be turned on (no rules needed). These are reportable from the activity object, and also show up in the Customer Journey widget in the new 360.

Thanks,

Manu

The reality though is that MOST objects are not low volume and there is a limited number of low volume objects you can have. Also - having it tracked in data management is not reportable IE you can display to managers or trigger anything in rules or JO. Basically….. its useless

Andrea Carroll