Simple Score
Last updated
Last updated
The Simple Score gives a total count of records based on the defined conditions. An example of this would be an incident backlog score.
table - the table to query.
conditions - the conditions to apply to the chart
aggregate_type - the type of aggregate to use. If none is provided 'COUNT' will be used.
aggregate_field - if an aggregate other than 'COUNT is used, an aggregate field must be provided to determine what to aggregate on.
use_group_by - whether a group by is in use
group_by - the value to group by
An array with a single object that is a number representing the number shown.
A Javascript Object:
A screenshot of the data in ServiceNow: