getScore(String indicator, Object onDate)

  • Release version: Zurich
  • Updated July 31, 2025
  • 1 minute to read
  • Returns the score of the specified indicator for the specified date.

    Table 1. Parameters
    Name Type Description
    indicator String Unique identifier of the indicator whose score is to be retrieved.
    onDate Object Date for which to return the score.
    Table 2. Returns
    Type Description
    Number Score for the specified date and indicator.

    Example:

    pa.getScore($[[Number of open incidents]], score_end);