Developer
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Last updated Nov 11, 2025

Scorecard has Atlas goal

The ScorecardHasAtlasGoal relationship represents the link between a Compass scorecard and a Townsquare goal within the Teamwork Graph. It allows you to:

  • Retrieve Atlas goals within a specific scorecard
  • Find which scorecard contains an Atlas goal
  • Traverse and analyze scorecard-goal relationships

Category

CategoryCanonical

Types

From Object TypesTo Object Types
Compass Scorecard - ati:cloud:compass:scorecardTownsquare Goal - ati:cloud:townsquare:goal

Cypher

Forward Query

GraphQL
1
2
query ScorecardHasAtlasGoal_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on TownsquareGoal {
                  id
                }
              }
            }
          }
        }
      }
    }
  }
}
Params

Note

We recommend sending parameterized Cypher queries as below instead of embedding the parameters directly in the query string. This approach will help ensure better performance.

1
2
{
  "cypherQuery": "MATCH (scorecard:CompassScorecard {ari: $id})-[:scorecard_has_atlas_goal]->(goal:TownsquareGoal) RETURN goal",
  "params": {
    "id": "$id"
  }
}

Inverse Query

GraphQL
1
2
query ScorecardHasAtlasGoal_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on CompassScorecard {
                  id
                }
              }
            }
          }
        }
      }
    }
  }
}
Params

Note

We recommend sending parameterized Cypher queries as below instead of embedding the parameters directly in the query string. This approach will help ensure better performance.

1
2
{
  "cypherQuery": "MATCH (scorecard:CompassScorecard)-[:scorecard_has_atlas_goal]->(goal:TownsquareGoal {ari: $id}) RETURN scorecard",
  "params": {
    "id": "$id"
  }
}

Rate this page: