Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Seeking for Code Snippet: Pause and Resume a Web Intelligence Document

I tried something like

String query_currently_running = "Select * from ci_infoobjects where si_instance = 1 and si_schedule_status = " + ScheduleStatus.RUNNING;
IInfoObjects results_currently_running = my_info_store.query(query_currently_running);		
IInfoObject info_currently_running = (IInfoObject) results_currently_running.get(0);
ISchedulingInfo scheduling = info_currently_running.getSchedulingInfo();
scheduling.setFlags(ScheduleFlags.PAUSE);

but

(scheduling == null)

is always true.

What am i missing?

Does someone have a code snippet under BOEXIR2 for me?

I searched the tutorials and sample code, but did not find a solution...

Not what you were looking for? View more on this topic or Ask a question