Events and Notification

Hi,
   Can we capture record level events (i.e Record added or modified), when it is created in Data Manager using java api's SP05?
Thanks,
Priya.

Hi,
  Thanks for the sample Code.
Even I have a similar type of Code :
public class DataChangeEvent implements Runnable
     //Server Name
     private String serverName = "";
     //Repository Name
     private String repositoryName = "";
     // DB-Server Name
     private String dbmsName = "";
     // User name
     private String userName = "";
     // Password
     private String userPassword = "";
     public void run()
          RepositoryIdentifier repId = new RepositoryIdentifier(repositoryName,dbmsName,DBMSType.ORACLE);
          int eventType = DataEvent.Type.RECORD_MODIFIED;
          System.out.println("eventType : "+eventType);
          try {
            EventDispatcher evtDisp = new EventDispatcher(serverName);
            evtDisp.addListener(new AbstractDataListener()
                 @Override
                public void recordModified(DataEvent arg0)
                    System.out.println("Record: updated!!!");
            evtDisp.registerDataNotifications(userName, userPassword, repId);
            Thread.sleep(1000);
          catch (InterruptedException ex)
            ex.printStackTrace();
          catch (Exception ex)
            ex.printStackTrace();
          System.out.println("Message");
When i run this thread and make modifications to records  through Data manager, those events are not capatured in my listener.
I have a question --- Will Java API's listen to events that are generated through data manager.
Thanks,
Priya.

Similar Messages

  • Double Calendar events and notifications

    Hello everyone,
    I am getting double Calendar events and notifications, that is, instead of getting and seeing one notification/calendar event, I get two of the same one.
    Yesterday I was setting up iCloud so it may have something to do with that but I don't know what.
    Also, in my Calendar Settings, I have the same calendars listed ( Work, Home, Personal, etc) under "From my Mac" and the another under iCloud.
    This might have something to do with it too ...
    But I still don't know what I need to do in order to stop getting double notifications and alerts.
    Any ideas, suggestions??
    thanks!!

    okey-dokey, and now imagine I have 250 events in calendar
    sitting one hour somewhere and changing some of them in such a manner - will make anyone mad... unless he has non-nokia device... mua-ha-ha
    Of course it's related to the bug you described (I've encountered it too).
    But regarding my initial problem as in header of topic - I'm pretty sure it does exist.
    I deleted ALL entries in my Nokia calendar and have been ultimately suprized to hear reminder popping up. I even searched through calendar and alarms to see if anything left by chance. No - both were empty. Presume this bug is somehow related to the second one you described.Message Edited by sidream on 16-Oct-200704:14 PM

  • In URM, pending event and pending vital review notifications sent

    In URM, there is a workflow that I created that notifies the author at the time of check in. Approvals required are zero, so it just is a notification with no approvals necessary. The next notification comes when a custom metadata date field matches the current date. The disposition action for this is 'Notify Authors'.
    When I run all of the batch services, not only is the 'Notify Authors' email sent, but also two more emails for pending event and pending vital reviews. The users do not want to see these two emails and in fact should not have anything pending since nothing in the system requires approval.
    What causes the pending event and pending vital reviews? I guess my question is, if there are no pending items for action or review, will this still be sent? Are the vital reviews for when someone clicks on "vital" when they are checking in a document? I need to understand how these pending events occur. We have nothing that we want to require approval in our system, so it seems odd to me that we would get these notifications. Please help me understand what causes something to be listed as "pending event" or "pending review".

    I resolved my own issues. It turns out, in case anyone is interested, that the users had the rmaadmin and rmaprivilege roles so that is why they were getting these notifications. Once these permissions were removed, they no longer received these notifications.
    So it was all in the security.

  • All-Day Events and Birthdays not in notification centre in iOS 7...

    Hello!
    I am using iPhone 4S, iOS 7.0.4.
    All-Day Events and Birthdays are not showing up in the "Today" tab in the notification centre. I have read some articles and majority has the same problem but there are some people who have birthdays showing under date and above weather in "Today" tab in notification centre.
    I want them in the same place too! I hope this is possible. I am really upset because of this.
    Any help would be appreciated.
    Regards..  
    Thanks!!!  

    I want my events and birthdays there... please help me...
    Thanks

  • In iCal and Notifications on a notebook, is it possible to expand the notes window to make it easier to read and write notes?

    In iCal and Notifications on a notebook, is it possible to expand the notes window to make it easier to read and write notes? In the past, I have used Outlook calendar and tasks and I was able to expand the windows which allowed me to put a great amount of details into either the notes section in events and tasks. It would be great to be able to do this in iCal and Notifications as well. I am using a Macbook Pro with OS X 10.8. Thank you very much for assistance with this.

    HI,
    Try Spaces for a virtual desktop.
    http://www.ehow.com/how2189851use-spaces-mac-os-x.html
    Carolyn

  • How to view iCal all day events in notifications tab?

    First of all I really don't like the new iCal app in ios7 but for now I am dealing with it and am contemplating getting a new app to use for my calendar. However I am trying to make this one work first. One of the problems I have is if I have iCal events that are scheduled as "all day" events, and when I swipe down to view my notifications tab it says I have no events even when I have an event for that day.  However it shows up if I have a time for that event, ex: 8:00 am to 10:00am.
    Is this a bug or is there a way to get them to show up? I have everything turned on in settings for the notifications tab settings.
    My other issue with iCal is I have two calendars (one for work and one for home) and when I view my month, I want to be able to see the color of the event i have planned on certain days, instead it just shows me a grey dot for the days i have something planned. My ipad with ios7 shows me the view I want my iphone doesn't, just grey dots.  This forces me to actually click on the day and then try to scroll through the day timeline to find my event.....any help?

    Did you ever get an answer on this?  I can see everything in the DAY view but need to see the all day events in the week view.  I have events that start on say the 15th and run to the 21st.  I've started putting the end date in the location field but it was so much nicer when the all day even portion expanded to allow you to see all of them without having to scroll.  Having to use the DAY view makes it really hard to schedule.  Any chance this will change in the new version?

  • No calendar events in notification center (at all)

    Hi,
    Since I've updated to iOS 7 (I started with one of the betas), I've got no calendar events showing if I swipe down notification center.
    It only shows a text saying "No activities", even though there are plenty of activities showing in my calendar app. I've restarted the phone (hard and soft), I've reset and restored the phone both from iTunes and iCloud. I've made sure that all settings that should be enabled are enabled. The weather and stock widgets are showing alright. I've tried to delete the google account I sync calendars with, and then readd it.
    Yesterday I tried to restart from a factory reset. When I add the google account from a clean installation it works fine and I get calendar events in notification center. But I want to find another solution where I wont lose all my data (text messages, application data, settings, etc).
    Is there anyone that has an idea on how I can fix this or if there is something else I can try?
    Thank you!

    It's not user adjustable. You'll need to use the Calendar app itself for more information.

  • Any calendar apps available that give much more flexibility in scheduling intervals and notification times?

    I am looking for a calendar app that lets me schedule like Outlook.  For example, Meeting occurs on the 3rd Wed of every month, or event occurs every month on the 21st, or every weekday, etc.  Also would like more options on notification timing than just 2 days or 1 day or 2 hours or 1 hour, etc.  What if I want 2 weeks notification so I can prepare special information, or how about 4 hours notification so I can drive to the meeting, etc.
    Also something that will ACCURATELY sync with my Outlook calendar and NOT duplicate appointments!  As one example, Every time I sync I get ANOTHER instance of my daughter's birthday.  Yes I want to remember, but I only need the one instance.  Last time it came up I was reminded 7 times (all at the same time) about it.  I have to sync then go through the upcoming events and delete duplicates.  A royal pain in the ... behind.
    I am syncing with MS Outlook 2010 on a Windows 7 Home Premium, 64 bit OS and my iPhone has iOS 5.1.1, and is a 4S (model MC922LL).  My iTunes is 10.6.3.25.
    Thanks for your help.

    No point in whinging here, we are all just users. Use Apple feedback.

  • Re: Service Object events and LockMgr

    On the option that you have considered, I have implemented the same model
    in my previous project (using Java/RMI), but I felt that it is more than
    what is normally needed for concurrency protection.
    I can suggest another option that is worth considering which is in place in
    our app for concurrency.
    Almost every table in our db has created By, created On, modifed By,
    modified On columns. The parent class of all business objects has
    attributes that correspond to these four columns. In addition to these
    four, there is a fifth attribute (introduced when concurrency was built)
    called originalModifiedOn. Upon retrieval from the db, it is set to
    modifiedOn value (from the db), during UPDATE, the value in this column is
    added part of the WHERE clause. So when the second user tried to do save
    the same object, the underlying db update will get a 'zero rows updated'
    which is translated into an application error 'possible concurrency
    error'. The user re-retreives the now 'stale' object before applying their
    edits.
    A lot of these things are and can be built into the framework imposing very
    little work that each Object needs to do to have concurrency protection.
    I am not sure if there is a mention in the Patterns paper of this model,
    but it is very easy to implement and supports what is needed.
    Kishore Puvvada's Mail
    [email protected] on 07/28/99 01:47:00 AM
    To: [email protected]@INTERNET
    cc: (bcc: Kishore Puvvada/HQ-IS/TAL)
    Subject: Service Object events and LockMgr
    Hi folks,
    We're currently looking at strategies for dealing with the simultaneous
    updates to the database from multiple clients (concurrency
    management). That is when two (or more) clients load the same object to
    edit it, then make different changes and save them to the database.
    We have a copy of a Forté document (from the "Patterns" course, I
    think) which describes three methods of dealing with this:
    1) Lock the database table row as soon as a client select it for editing
    and hold the lock until it is saved.
    2) Immediately before 'saving' check that the database hasn't changed
    (either by reading what's there before updating, or by using a huge
    'where' clause that contains all unchanged fields)
    3) The Forté "LockMgr" pattern, which uses a service object with notifier
    proxies to allow locking and updating notification between the clients.
    Option 3 is obviously the most robust method, but it requires a fair
    amount of coding and could also be a bottleneck for database reads and
    writes.
    But I have another option for which I was looking for opinions. What if
    we had a "Change Event manager" which broadcast an event every time
    a change is made to the database. Each business class would have its
    own event. If the event had the object's primary key as a parameter, then
    clients editing that particular object type could check to see if the object
    currently on screen is the one that changed. That way you could disable
    the 'save' until they had refreshed their on-screen data.
    It's not particularily elegant, but it's reasonably simple to implement. It
    also deals with changes sent across our WAN from other database
    servers.
    But this option is only worthwhile if you can replicate the "Change Event
    manager" SO and still register for an event on the client. Can clients
    register for SO events and receive an event generated by any of the SO's
    replicates? Or when you register for an SO's event do you register for
    only one instance of the SO?
    Thanks in advance for any answers.
    Cheers,
    Duncan Kinnear,
    McCarthy and Associates, Email:
    [email protected]
    PO Box 764, McLean Towers, Phone: +64 6 834 3360
    Shakespeare Road, Napier, New Zealand. Fax: +64 6 834 3369
    Providing Integrated Software to the Meat Processing Industry for over 10
    years
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:
    http://pinehurst.sageit.com/listarchive/forte>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/forte>

    On the option that you have considered, I have implemented the same model
    in my previous project (using Java/RMI), but I felt that it is more than
    what is normally needed for concurrency protection.
    I can suggest another option that is worth considering which is in place in
    our app for concurrency.
    Almost every table in our db has created By, created On, modifed By,
    modified On columns. The parent class of all business objects has
    attributes that correspond to these four columns. In addition to these
    four, there is a fifth attribute (introduced when concurrency was built)
    called originalModifiedOn. Upon retrieval from the db, it is set to
    modifiedOn value (from the db), during UPDATE, the value in this column is
    added part of the WHERE clause. So when the second user tried to do save
    the same object, the underlying db update will get a 'zero rows updated'
    which is translated into an application error 'possible concurrency
    error'. The user re-retreives the now 'stale' object before applying their
    edits.
    A lot of these things are and can be built into the framework imposing very
    little work that each Object needs to do to have concurrency protection.
    I am not sure if there is a mention in the Patterns paper of this model,
    but it is very easy to implement and supports what is needed.
    Kishore Puvvada's Mail
    [email protected] on 07/28/99 01:47:00 AM
    To: [email protected]@INTERNET
    cc: (bcc: Kishore Puvvada/HQ-IS/TAL)
    Subject: Service Object events and LockMgr
    Hi folks,
    We're currently looking at strategies for dealing with the simultaneous
    updates to the database from multiple clients (concurrency
    management). That is when two (or more) clients load the same object to
    edit it, then make different changes and save them to the database.
    We have a copy of a Fort&eacute; document (from the "Patterns" course, I
    think) which describes three methods of dealing with this:
    1) Lock the database table row as soon as a client select it for editing
    and hold the lock until it is saved.
    2) Immediately before 'saving' check that the database hasn't changed
    (either by reading what's there before updating, or by using a huge
    'where' clause that contains all unchanged fields)
    3) The Fort&eacute; "LockMgr" pattern, which uses a service object with notifier
    proxies to allow locking and updating notification between the clients.
    Option 3 is obviously the most robust method, but it requires a fair
    amount of coding and could also be a bottleneck for database reads and
    writes.
    But I have another option for which I was looking for opinions. What if
    we had a "Change Event manager" which broadcast an event every time
    a change is made to the database. Each business class would have its
    own event. If the event had the object's primary key as a parameter, then
    clients editing that particular object type could check to see if the object
    currently on screen is the one that changed. That way you could disable
    the 'save' until they had refreshed their on-screen data.
    It's not particularily elegant, but it's reasonably simple to implement. It
    also deals with changes sent across our WAN from other database
    servers.
    But this option is only worthwhile if you can replicate the "Change Event
    manager" SO and still register for an event on the client. Can clients
    register for SO events and receive an event generated by any of the SO's
    replicates? Or when you register for an SO's event do you register for
    only one instance of the SO?
    Thanks in advance for any answers.
    Cheers,
    Duncan Kinnear,
    McCarthy and Associates, Email:
    [email protected]
    PO Box 764, McLean Towers, Phone: +64 6 834 3360
    Shakespeare Road, Napier, New Zealand. Fax: +64 6 834 3369
    Providing Integrated Software to the Meat Processing Industry for over 10
    years
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:
    http://pinehurst.sageit.com/listarchive/forte>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/forte>

  • Service Object events and LockMgr

    Hi folks,
    We're currently looking at strategies for dealing with the simultaneous
    updates to the database from multiple clients (concurrency
    management). That is when two (or more) clients load the same object to
    edit it, then make different changes and save them to the database.
    We have a copy of a Fort&eacute; document (from the "Patterns" course, I
    think) which describes three methods of dealing with this:
    1) Lock the database table row as soon as a client select it for editing
    and hold the lock until it is saved.
    2) Immediately before 'saving' check that the database hasn't changed
    (either by reading what's there before updating, or by using a huge
    'where' clause that contains all unchanged fields)
    3) The Fort&eacute; "LockMgr" pattern, which uses a service object with notifier
    proxies to allow locking and updating notification between the clients.
    Option 3 is obviously the most robust method, but it requires a fair
    amount of coding and could also be a bottleneck for database reads and
    writes.
    But I have another option for which I was looking for opinions. What if
    we had a "Change Event manager" which broadcast an event every time
    a change is made to the database. Each business class would have its
    own event. If the event had the object's primary key as a parameter, then
    clients editing that particular object type could check to see if the object
    currently on screen is the one that changed. That way you could disable
    the 'save' until they had refreshed their on-screen data.
    It's not particularily elegant, but it's reasonably simple to implement. It
    also deals with changes sent across our WAN from other database
    servers.
    But this option is only worthwhile if you can replicate the "Change Event
    manager" SO and still register for an event on the client. Can clients
    register for SO events and receive an event generated by any of the SO's
    replicates? Or when you register for an SO's event do you register for
    only one instance of the SO?
    Thanks in advance for any answers.
    Cheers,
    Duncan Kinnear,
    McCarthy and Associates, Email: [email protected]
    PO Box 764, McLean Towers, Phone: +64 6 834 3360
    Shakespeare Road, Napier, New Zealand. Fax: +64 6 834 3369
    Providing Integrated Software to the Meat Processing Industry for over 10 years
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/forte>

    Hi,
    Just wonder exactly how this Lock Manager can be implemented. Do you mean that you are
    going to cache every object that is instantiated from the database? Or you just cache
    the object id, primary key, etc?
    Frankly speaking, I won't attempt to due with this kind of currency coding myself as
    the database vendor has spent years in coding just to do this.
    Regards.
    Dimitar Gospodinov wrote:
    Hello Duncan,
    Wednesday, July 28, 1999, 10:31:46 AM, you wrote:
    DK> Hi folks,
    DK> We're currently looking at strategies for dealing with the simultaneous
    DK> updates to the database from multiple clients (concurrency
    DK> management). That is when two (or more) clients load the same object to
    DK> edit it, then make different changes and save them to the database.
    DK> We have a copy of a Fort&eacute; document (from the "Patterns" course, I
    DK> think) which describes three methods of dealing with this:
    DK> 1) Lock the database table row as soon as a client select it for editing
    DK> and hold the lock until it is saved.
    DK> 2) Immediately before 'saving' check that the database hasn't changed
    DK> (either by reading what's there before updating, or by using a huge
    DK> 'where' clause that contains all unchanged fields)
    DK> 3) The Fort&eacute; "LockMgr" pattern, which uses a service object with notifier
    DK> proxies to allow locking and updating notification between the clients.
    DK> Option 3 is obviously the most robust method, but it requires a fair
    DK> amount of coding and could also be a bottleneck for database reads and
    DK> writes.
    DK> But I have another option for which I was looking for opinions. What if
    DK> we had a "Change Event manager" which broadcast an event every time
    DK> a change is made to the database. Each business class would have its
    DK> own event. If the event had the object's primary key as a parameter, then
    DK> clients editing that particular object type could check to see if the object
    DK> currently on screen is the one that changed. That way you could disable
    DK> the 'save' until they had refreshed their on-screen data.
    DK> It's not particularily elegant, but it's reasonably simple to implement. It
    DK> also deals with changes sent across our WAN from other database
    DK> servers.
    DK> But this option is only worthwhile if you can replicate the "Change Event
    DK> manager" SO and still register for an event on the client. Can clients
    DK> register for SO events and receive an event generated by any of the SO's
    DK> replicates? Or when you register for an SO's event do you register for
    DK> only one instance of the SO?
    DK> Thanks in advance for any answers.
    DK> Cheers,
    DK> Duncan Kinnear,
    DK> McCarthy and Associates, Email: [email protected]
    DK> PO Box 764, McLean Towers, Phone: +64 6 834 3360
    DK> Shakespeare Road, Napier, New Zealand. Fax: +64 6 834 3369
    DK> -------------------------------------------------------------------------------
    DK> Providing Integrated Software to the Meat Processing Industry for over 10 years
    DK> -
    DK> To unsubscribe, email '[email protected]' with
    DK> 'unsubscribe forte-users' as the body of the message.
    DK> Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/forte>
    I would recommend you to use the following approach (of course if you
    do not have some special requirements :) ):
    1. You should have a LockManager that will synchronize all clients in
    their attempt to modify/delete objects in your application.
    2. Each client, when attempts to modify/delete some object, it must
    LOCK it using the services provided with the LockManager.
    3. The requested operation can be performed only after successful
    locking.
    4. If a lock can not be obtained (for example if the object is already
    locked by some other client) then the operation is aborted.
    The details of this pattern depends on your needs. :)
    Hope this helps.
    Best regards,
    Dimitar mailto:[email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/forte>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/forte>

  • Can I see the list of Event's Notification types of Azure Site Recovery ?

    Can I see the list of Event's Notification types of Azure Site Recovery ?
    I want to verify Event's Notifications rather than "Virtual machine health is OK".
    Example senarios:
    senario 1. Disconnect the Ethernet cable.
      Can I get the notification e-mail at Disconnecting the Ethernet cable from the on-premises Hyper-V host ?
    senario 2. Turn off
      Can I get the notification e-mail at Turning off the protected Virtual Machine on the on-premises Hyper-V host ?
    senario 3. e-mail test
      Can I get the notification e-mail after turning on Event Notification ?
      Is e-mail address Collect ?
      Can I get e-mail without auto-Junk ?
    Regards,
    Yoshihiro Kawabata

    Hi Yoshihiro Kawabata,
    Thanks for bringing these requests to our attention. We currently do not have support for these three types of email notifications. I will add them to our backlog and we will enable support for them soon.
    Currently, we support email notifications only for replication issues. One example you can easily test is to Pause the replication of a virtual machine from the Hyper-V Manager UI. This should send an email notification.
    Let me know if this helps.
    Thanks
    Siva

  • Process Notification and Notification Wait activity - External Relationship

    Hi,
    I have a query relating to the Process Notification and Notification Wait activity.
    In my Process Creation after finishing 2 interactive avtivities I need to send notification or inform the instance
    waiting in a Notification Wait activity.
    For this Im using ALBPM Predefined Process Notification activity to send Notification.
    Im defining instance variable and mapping it as argument to Notification Wait activity.
    I have set the type of event to wait for as External relationship.And defined a correlarion
    at Notification Wait activity by setting initiate property as Yes and defined association with
    argument mapping.And selected the same correlation from the Process Notification activity.
    When im trying to execute the same always im getting the exceeption as Instance was not found for notification.
    Please help me to resolve this issue.
    Thank You,
    ~Kavitha

    Hi Matthias,
    What you have experienced is exactly how it works, the notification is processed after the screenflow is finished.
    I tested a lot some time ago and also really happy that worked well.
    Regards

  • Customers should receive event triggered notification.

    Hi,
              I am suppose to do the e-mail design documentation using sap crm on 1. Customer Receives Event Triggered Notification. and 2. Customer receives the marketing information. on these two topics got no idea on these things at all. Could any one please help me in finding the  material for these and also please describe the overview of these two things.
    Thanks and Regards,
    Venkat.
    Message was edited by:
            venkat ratnam

    Hi,
    I cant say about the documentation but what I know is we have to perform the Scott configuration in the system,Maintain the distriution list in custom table for email detials of the customer & develop an exit which will send the required information on event of saving the document..Hope this will help..
    Thanks

  • Difference between busniess Event and object event

    Hi All,
    Can anyone explain to me what the difference between business event and object event in Beehive?
    thanks

    Business events are events that are exposed for integration with policies, audit, workflows, user notifications etc.
    Object events are an internal-to-beehive system service that are consumed within Beehive Services and are not exposed for application or user consumption.
    Richard

  • Insert date on event  module notification email

    Hello community,
    I'd like to add the date of the event booked on the event module notification email, but those tags are not available in the toolbox on that panel and when I use those listed in the documentation, they don't work and simply display as {tag_ }, even though they work in the detailed event layout.
    I'm thinking it can be done with a module tag /liquid layout, but the things I've tried so far aren't giving me what I need.
    Can you help?
    The events are daily (basically admission) so there is no category, but the date should be sent on the confirmation email because it serves as the ticket.
    Thank you!

    PLEASE! There must be some way to insert the date on the events module notification email.
    HELP????

Maybe you are looking for