Questions Tagged With systemeventhttps://answers.axonivy.com/tags/systemevent/?type=rssquestions tagged <span class="tag">systemevent</span>enTue, 05 Jul 2016 13:25:08 -0400Login Process for SSOhttps://answers.axonivy.com/questions/1867/login-process-for-sso<p>Hi All,</p> <p>Is it possible to send system events in the login process to load user specific settings in Applications using SSO? I added a ScriptStep in JsfWorkflowUi &gt; HTML Dialogs &gt; Login Logic. This works fine but only for non-SSO Applications.</p> <p>Best Regards, Florian</p>Florian HeinrichTue, 05 Jul 2016 13:25:08 -0400https://answers.axonivy.com/questions/1867/login-process-for-ssossosystemeventFailed to serialize an object of class ch.ivyteam.ivy.event.SystemEvent. After de-serialization this instance will be null.https://answers.axonivy.com/questions/1428/failed-to-serialize-an-object-of-class-ch-ivyteam-ivy-event-systemevent-after-de-serialization-this-instance-will-be-null<p>Hello</p> <p>We repeatedly see this error message in our production logs:</p> <pre><code>05.08.2015 09:00:00.000 ERROR [ch.ivyteam.ivy.scripting.serialization.IvyScriptSerializer] [Incoming--649,XpertIvy,yyy-123] [application=1, requestId=123456789, pmv=app$MyProcessModel$1, task=123456, session=0 (SYSTEM), request=Business Processes/MyProcess/MyMod.mod/eventLink.ivp(1106682.1930715.0.0), executionContext=SYSTEM] Failed to serialize an object of class ch.ivyteam.ivy.event.SystemEvent. After de-serialization this instance will be null. </code></pre> <p>The parameter for the SystemEvent implements Serializable and has a public no arg constructor.</p> <p>We have a 2 Ivy node cluster setup.</p> <p>This error can't be reproduced in a local designer.</p> <p>I can see that SystemEvent doesn't implement Serializable, nor has a default constructor which seems to be a requirement by IvyScriptSerializer if it's not a Collection, Map, Array, Enum or Axis Enum. This, in my opinion, leads to the error in the log.</p> <p>My suspicion is that since our ProcessStartEventBean doesn't support more than one instance and if the event occurs on the same cluster node that processes this SystemEvent the SystemEvent is not serialized. If this is not the case it has to serialize the SystemEvent in order to send it to the master node.</p> <p>Can you confirm this?</p>hspreiterWed, 05 Aug 2015 10:13:36 -0400https://answers.axonivy.com/questions/1428/failed-to-serialize-an-object-of-class-ch-ivyteam-ivy-event-systemevent-after-de-serialization-this-instance-will-be-nullsystemeventDetect a user session is closing because of timeouthttps://answers.axonivy.com/questions/1359/detect-a-user-session-is-closing-because-of-timeout<p>Hi everybody,</p> <p>Is there a way to detect a user session is closing because of a timeout? There is the "unload" event that can be catched in an ULC Rich Dialog for performing some stuff when the user close a Dialog. Is there something similar for a session timeout?</p> <p>If not it would be very usefull to have such a possibility.</p> <p>Thanks in advance Emmanuel</p>EmmanuelSat, 13 Jun 2015 10:22:25 -0400https://answers.axonivy.com/questions/1359/detect-a-user-session-is-closing-because-of-timeoutsystemeventsessioneventSend events to all open clients from a processhttps://answers.axonivy.com/questions/402/send-events-to-all-open-clients-from-a-process<p>How can I send an event to all running clients of my application in order to let them invoke a specific action?</p>Philipp HaslingerTue, 05 Apr 2011 11:31:01 -0400https://answers.axonivy.com/questions/402/send-events-to-all-open-clients-from-a-processrichdialogsystemevent