02-27-2013 11:48 AM
02-28-2013 02:47 AM
02-28-2013 06:57 AM
for (int i = 0; i<5;i++) {
System.out.println("Message triggered: " + dformat.format(new Date().getTime()));
runtimeService.startProcessInstanceByMessage("r_msg"); //start with message name
System.out.println("Message finished, now trigger the event e1: " + dformat.format(new Date().getTime()));
runtimeService.signalEventReceived("e1"); //trigger event e1
System.out.println("Event finished: " + dformat.format(new Date().getTime()) + "\n");
}
Message triggered: 2013-02-28 12:42:06,223
Message finished, now trigger the event e1: 2013-02-28 12:42:06,824
Event finished: 2013-02-28 12:42:07,054
Message triggered: 2013-02-28 12:42:07,054
Message finished, now trigger the event e1: 2013-02-28 12:42:07,254
Event finished: 2013-02-28 12:42:07,461
Message triggered: 2013-02-28 12:42:07,461
Message finished, now trigger the event e1: 2013-02-28 12:42:07,672
Event finished: 2013-02-28 12:42:07,893
Message triggered: 2013-02-28 12:42:07,893
Message finished, now trigger the event e1: 2013-02-28 12:42:08,107
Event finished: 2013-02-28 12:42:08,334
Message triggered: 2013-02-28 12:42:08,334
Message finished, now trigger the event e1: 2013-02-28 12:42:08,541
Event finished: 2013-02-28 12:42:08,756
(1 row(s) affected)
SQL Server Execution Times:
CPU time = 0 ms, elapsed time = 0 ms.
02-28-2013 02:30 PM
02-28-2013 03:55 PM
03-01-2013 05:32 AM
03-01-2013 01:22 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.