- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2016 10:54 AM
Hi, I'm using the Table API to get data from /table/definition_instance, it's working fine but the field "business duration" has no values in any row.
If I check the data in the Service Now application I can see the values.
Any idea? can I check anything else?
Thanks,
Guillermo
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2016 10:38 AM
Yes, now it makes sense that we've been dealing with two separate tables and the Business Duration field in the Metrics table was never populated.
Would you mark replies as Answer / Helpful as appropriate. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2016 06:58 AM
I retrieve rows asking for "duration" but not for "business_duration", in the ServiceNow UI I can see values in both fields.
Are they giving the same values? If duration is giving the same value as business_duration, then using duration may solve the issue.
Also, in the UI where you see business_duration, are you actually seeing the field name or the label "Business Duration"? Can you post a screenshot?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2016 07:04 AM
I believe he is referring to the "metric_instance" table and not definition_instance as that table doesn't exist out of the box. There is a business duration field on the metric_instance table but in my demo instance that field has no values but duration does.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2016 07:14 AM
Yes, I mean "metric_instance"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2016 07:20 AM
Thanks michael.ritchie for clarification.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2016 07:12 AM