Agile Process : Universal Messaging Administration Guide : Universal Messaging Enterprise Manager : Administration Using Enterprise Manager : Scheduling : Universal Messaging Scheduling : Time Triggers Example
Universal Messaging Scheduling : Time Triggers Example

scheduler myTimers{
/*
Define some new timers
*/

declare Timer reportTimer ("myTimer");
declare Timer testTimer ("myDelay");

initialise{
testTimer.stop();
}

/*
In 60 seconds log a report and start the second timer
*/
when(timer == 60){
Logger.report("Timer has fired!");
testTimer.start();
}

/*
When the second timer hits 30 seconds, log it and reset all timers to do it again
*/

when(testTimer == 30){
Logger.report("Test dela fired, resetting timers");
testTimer.reset();
testTimer.stop();
timer.reset();
}
}
Copyright © 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback