Greetings!
>So if there is a schedule that runs every day at 8am and we add a trigger (say the change of a last ETL_Import date) - will the schedule wait to run until it is 8am AND the trigger is true?
Trigger is not a Boolean condition. Trigger is a Label which you specify in the Schedule of the relevant Cognos objects. Trigger job is simply a Cognos Java SDK app with Parameter(s) [Trigger Label(s)]. It connects to the Cognos Server and tells it to invoke all Schedules with those Trigger Labels. Cognos will put all these Schedules into the queue to execute as soon as required resources are available.
It does not affect any Non-Trigger Schedules (based on Time)
>I want to suspend the report running at 8am if the ETL is NOT finished. I don't necessarily want the report to run prior to 8am if the ETL is complete. I still want the reports to wait until their scheduled tim to run - 8am.
Then you need to run your Trigger job at 8am.
Though, if I understand your Use Case correctly, your Cognos environment is being used my many independent organizations who can create their own schedules. Then modifying all of these Schedules to use Trigger and then incorporating Trigger job invocation into their ETL processes might be a very extensive task...
You probably would be better off by specifying and publishing an exact time interval when Time schedules can run and Enabling/Disabling responsible Cognos services during that interval only ( I assume Event Management service should be sufficient, but I have not tried that myself).
Cheers,
Andrei
------------------------------
Andrei Istomine
Open to work - anything Cognos
https://www.linkedin.com/in/andreii/------------------------------
Original Message:
Sent: Tue April 08, 2025 11:47 AM
From: brenda grossnickle
Subject: Backend data still being updated - how to suspend Cognos so schedules don't run
So if there is a schedule that runs every day at 8am and we add a trigger (say the change of a last ETL_Import date) - will the schedule wait to run until it is 8am AND the trigger is true? I want to suspend the report running at 8am if the ETL is NOT finished. I don't necessarily want the report to run prior to 8am if the ETL is complete. I still want the reports to wait until their scheduled tim to run - 8am.
------------------------------
brenda grossnickle
BI Programmer Analyst
FIS
Original Message:
Sent: Tue April 01, 2025 12:26 PM
From: Swetab Sharma
Subject: Backend data still being updated - how to suspend Cognos so schedules don't run
Hi Brenda,
I think the use of triggers to start the schedules instead of a specific time, will be the best fit for your requirement. Once you have defined the Cognos triggers, you will call it from your job scheduler (Control-M or similar, that your organization uses). After the database table load has finished, call the trigger jobs as successors to the database jobs. This will ensure that your cognos schedules begin to run only after the database jobs have completed.
Please see this for information on how to setup triggers: Cognos Schedules based on triggers
------------------------------
Swetab Sharma
Original Message:
Sent: Tue April 01, 2025 11:34 AM
From: brenda grossnickle
Subject: Backend data still being updated - how to suspend Cognos so schedules don't run
Occasionally we have issues with the data import running long and the job/report schedules start to run while we are importing data. Looking for a way to suspend the running of schedules (or complete use of Cognos) and then when the data import is complete to reactive the running of schedules including any that were missed due to being suspended. Some banks have several hundred schedules. Is there a service inside of Cognos Management Console -> Configuration -> Dispatchers and Services that can be stopped? Stopping the entire Cognos Windows Service is probably not an option. Cognos is finicky and does not always come back up successfully (sad to say). We have tried previously to use Event Monitor to monitor a ImportComplete_Date column in a sql table and did not have success. It was several versions back when we tried. Also - we support 11.0.7 to 11.2.4
Any ideas or experiences is appreciated.
------------------------------
brenda grossnickle
BI Programmer Analyst
FIS
------------------------------