Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Getting related list records using out of the box graphql

ShuvadayC
Kilo Contributor

Hi All

Is there any way i can get the incidents associated with a change request using the out of the box graphql query.

I was trying below,but dnt help:

{
GlideRecord_Query{
  change_request{
    _results{
      number{
        value
      }
      category{
        value
      }
      requested_by{
          _reference{
            last_name{
              displayValue
            }
          }
      }
      service{
        _reference{
            value
        }
      }
    cmdb_ci{
        _reference{
            name{
                value
            }
        }
    }
    incidents{
        _reference{
            value
        }
    }

    }
  }
}
}
0 REPLIES 0