Identify previous and current values of a field using metric definitionSummaryUser has a requirement that he want to see the transitioned value(both) in the metric definition parameter. As an example, someone changed location from London to new York for Asset-XYZ. Identify the feasibility of fetching both London and New York in metrics data.ReleaseAllInstructionsTo achieve this we need to create a metric definition followed by a Business Rule.Step1: Creating a metric definition1) Login to the instance2) Navigate to Metrics -> Definitions3) Click on New and provide below detailsa) Name = Testing_Locationb) Table = alm_assetc) Field = Locationd) Description = Track location changeSubmit the recordStep 2: Creating a Business Rule1) Navigate to System Definition -> Business Rules2) You will see a record with 'metric events' on the task table3) Click on New and create the similar business rule on 'alm_asset' tableMake sure the name is 'metric events'. Please find the screenshot 14) Copy paste the script that you see in 'metric events' on task table to the 'alm_asset' tableNo script changes required5) Ensure 'When to Run', 'Actions', 'Advanced Tab' are same as in 'metric event' for task table.Submit the business ruleNow navigate to alm_asset table and change the location for any record.The change should capture in sysevent table and also in 'metric_instance table'.Please find the screenshot below. Related LinksMetrics Instance