cancel
Showing results for 
Search instead for 
Did you mean: 

How to reterive the status of instances of report.

Former Member
0 Kudos

I am using java SDK i have to reetive the status of all the instances of report

That is sucess , failure , pending..etc

how can i do that.

Accepted Solutions (0)

Answers (1)

Answers (1)

Adam_Stone
Active Contributor
0 Kudos

Below is an example of a query that will get all objects that are currently running.

SELECT * FROM CI_INFOOBJECTS WHERE SI_SCHEDULE_STATUS = 0

1 is for successful, 3 is for failed, 8 is for paused, 9 is for pending.

You can look at any of the Java SDK samples available to see how you could code the application to use this query.

Former Member
0 Kudos

there are few more like recurring so i want the code with status

Adam_Stone
Active Contributor
0 Kudos

recurring is not a status, it is its own property.

You would want to look at the IInfoObject.getSchedulingInfo.getType() as well as other properties off the schedulingInfo.