Conditional Event. Automatic page navigation.
Hi.
I currently have set up a Navigation widget, so that once it's clicked, a popup mashup appears. I'm interested to have this popup display automatically between certain times of the day. How can I achieve this?
I was thinking of creating a service that checks whether the current time is within the time interval in which the popup should be displayed. But I can't bind the Service Invoke Completed event to the navigation event of the widget, because it would always display the popup when the service would run.
I was thinking into exploring custom events, but I don't understand why an event needs a Data Shape assigned to it. My second question is whether customn events can help me here, because I think I can create a custom event (why assign a data shape to it, though?) and call the custom event through the if-else loop that checks whether the current time is within the time interval that the popup should be displayed. But if I do that, there's no way I can bind any event to the navigation event. So I don't understand how I can use them to my advantage.
If anyone could help me, I'd appreciate it.

