IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Automatically update schedule task

  • 1.  Automatically update schedule task

    Posted Mon August 27, 2012 04:51 PM

    I have a curious question. I’ve setup a tpa where the user can provide inputs for repeating and complex schedules. I would like for TN to trigger an event that’ll update the tpa schedule. Basically, kinda like an audit change event to the tpa. Just wondering if that’s possible. What I’m trying to accomplish is to provide an easier method of scheduling repeating/complex tasks without using the IS admin console.


    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB


  • 2.  RE: Automatically update schedule task

    Posted Mon August 27, 2012 05:46 PM

    did you tried to use services under pub.scheduler?
    it has the same functions as using the admin ui.


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 3.  RE: Automatically update schedule task

    Posted Mon August 27, 2012 05:58 PM

    yes pub.scheduler is the services to start with…but your requirement looks interesting task:

    what tpa schedule are you taking about in TN TPA’s configuration?

    HTH,
    RMG


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration


  • 4.  RE: Automatically update schedule task

    Posted Mon August 27, 2012 07:22 PM

    It’s a tpa specifically to store schedule task information. What I want to do is whenever the user update the schedule tpa, I want it to automatically trigger an event that’ll update the schedule. I have the services that’ll update the schedule. I just want a way for TN to invoke it or somehow know when the user updated that tpa to update the schedule.


    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB


  • 5.  RE: Automatically update schedule task

    Posted Mon August 27, 2012 08:07 PM

    So did you create a custom canonical publish doc that triggers the event to broker or from TN and the sub service picks up and update the schedule?..or you are wanting to schedule a service programmatic-ally via scheduler services?


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: Automatically update schedule task

    Posted Mon August 27, 2012 08:55 PM

    I could create a schedule task that can loop through the tpa that contains all the schedule documents but that would be silly. I do like the idea of publishing the document whenever the tpa has been updated but how would you do that?


    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB


  • 7.  RE: Automatically update schedule task

    Posted Mon August 27, 2012 09:08 PM

    Which ever way you are comfortable do it…loops thru the tpa seems OK also:

    But Publishing document logic may not work for your scenario of tpa updates unless you have some source that retrieves the updates and publish a document.


    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB


  • 8.  RE: Automatically update schedule task

    Posted Mon August 27, 2012 09:21 PM

    I don’t want to loop through the tpa every 5 seconds if it’s not necessarily. It would make more sense to trigger a service when someone update the tpa.


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 9.  RE: Automatically update schedule task

    Posted Mon August 27, 2012 09:26 PM

    pub.event:addSubscriber might be an avenue for this, but I’m not sure TN publishes any events that would be consumable this way. Possibly an audit event may give you the “something updated” trigger you’re looking for. You might check with SAG support to see if TN supports this facility.


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 10.  RE: Automatically update schedule task

    Posted Mon August 27, 2012 09:31 PM


  • 11.  RE: Automatically update schedule task

    Posted Mon August 27, 2012 09:36 PM

    I was thinking the same way about an audit event but not sure how it works in TN.


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 12.  RE: Automatically update schedule task

    Posted Mon August 27, 2012 10:12 PM

    The question for SAG–does TN use the event facility in IS to publish events when certain admin/profile editing activities occur?


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 13.  RE: Automatically update schedule task

    Posted Thu August 30, 2012 07:48 AM

    Just wondering if setting a JDBC Polling Notification on TN (DB-table) would be able to do that…


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 14.  RE: Automatically update schedule task

    Posted Thu August 30, 2012 02:28 PM

    Amank - That could be an alternative.


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 15.  RE: Automatically update schedule task

    Posted Thu August 30, 2012 03:15 PM

    Not a bad idea…But which table related to focus on TPA and there are many inter link/join tables also…


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 16.  RE: Automatically update schedule task

    Posted Fri August 31, 2012 03:57 AM


  • 17.  RE: Automatically update schedule task

    Posted Fri August 31, 2012 04:01 AM

    The table name is TPA, the data is stored into BLOB column called TPADATA. I am guessing storing the required info in the description ‘text field’ is the best bet, seperated by delimiters.


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 18.  RE: Automatically update schedule task

    Posted Fri August 31, 2012 03:29 PM

    So JDBC Polling works on this TPA table?


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 19.  RE: Automatically update schedule task

    Posted Mon September 03, 2012 12:46 AM

    I dont see a reason why it wont…


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 20.  RE: Automatically update schedule task

    Posted Mon September 03, 2012 04:16 AM

    ok let him try a shot and post back:


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB