on 2014 Dec 03 6:01 PM
Use this query to get the sender name info.
Select SI_NAME,SI_UPDATE_TS,SI_SCHEDULEINFO.SI_DESTINATIONS from
CI_INFOOBJECTS WHERE SI_PARENT_CUID= '<CUID of the report>'
SI_SENDER_NAME: lists recipients names
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You would need to use si_instance=1 in the where clause of your query
Something like select * from ci_infoobjects where si_instance=1.(Instead of * use the columns yopu require)
By default it would result in 1000 objects. If you require more than that, you would need to use sql TOP function
Thanks,
Prithvi
You required query to get all scheduled reports. Right?
I gave you a query through which you would get all the instances. As when a report is scheduled it generates an instance.
If you want to know which main reports are scheduled, you would want to check the property si_lastruntime property.
Thanks,
Prithvi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you give more details around your question ' Is it possible to send list of documents for Query Builder like each object what it will do?'
As far as your second question goes, as per my understanding, you want to know which reports are not scheduled at all.Let me know if my understanding is correct. If yes, for that you would want to look for the property si_lastruntime. The reports which do not contain this property are the once not scheduled at all.
select * from ci_infoobjects where si_instance=0 and si_last_run_time=null
(Instead of * use the columns you require)
Thanks,
Prithvi
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.