Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to run reports query using rest API

Shetty2
Mega Contributor

I have written a query to get list of demands and saved. My query is to filter demands and demand tasks. When I view/Run query I see output table.

I want list of demands which is the output of query as my API response.

 

 

find_real_file.png

1 ACCEPTED SOLUTION

@Shetty@20 

no other option

You cannot use related list condition query containing RLQUERY in the API explorer sysparm_query

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

6 REPLIES 6

@Shetty@20 

no other option

You cannot use related list condition query containing RLQUERY in the API explorer sysparm_query

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Shetty@20

Let me know if that answered your question.

If so, please mark appropriate response as correct & helpful so that this thread can be closed and others can be benefited by this.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader