closing all the metric records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Team,
I am having a requirement in the CSM module.
I want to capture all the Metric instances when the case state changed from Active to False. So, I have created a Async BR with all the Metric Definitions stored in the property. It is updating all the records sometimes and leaving few records in the very next attempt. The BR wasn't able to update all Metric Instances and leaving the very recently created when the state changes to active to false. I tried Script Include calling from the BR but failed abruptly. I have tried Scheduled Job which will trigger via After BR and it is working totally fine as expected. But my architect isn't allowing me to go through this approach. I have checked all the OOTB things but no luck. It would be great if there is any other way to proceed further or any enhancements are required to fix this issue. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Imran4
Go to:
System Definition → TablesOpen the table record:
sn_customerservice_case (Customer Case)
sn_customerservice_technical_case (Technical Case)
Check the field:
Extensible or Metric tracking (depends on version — in Yokohama it’s “Metric tracking”).Enable it:
Tick on
Metric tracking enabled
Save the record
This flag adds the hidden metric infrastructure needed for that table.
Reload Metric Definition form:
Now when you go to Metric Definitions → New,
you should be able to select those tables from the Table dropdown.
Once the definition(s) are created, you can report on the captured data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Tanushree Maiti ,
Sorry, it didn't solve my issue. I am not able to find the table even after making it extensible. I would like to hear response from you. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi @Imran4 ,
Metrics is already configured "In the base system, metrics are configured to work on the task table only."
Note; for non-task table , it needs to configure using BR etc. Check this post.
sn_customerservice_case table is extended from task table.
In Zurich PDI, I added Metrics Related list in case (sn_customerservice_case) record and Added a Case record and closed it.
In the Case ->Metrics list it is showing data correctly. Check this screen shot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Tanushree Maiti ,
Case table is extended from the Task table in my scenario. Creating a BR is working fine for some time and failing abruptly in other cases. So, I am expecting a way to fix this issue. Thank you.
