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.


#TechXchangePresenter
 View Only
  • 1.  How to get service dependents in flow code

    Posted Mon December 03, 2018 04:57 AM

    As the title says, I was wondering how to programatically get service dependents from within a designer flow service. I tried searching on here and saw some topics that suggested using wm.tn.dependency:getDependent However I am unsure how to use this to accomplish my goals. Was hoping for some advice.

    Thanks!


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 2.  RE: How to get service dependents in flow code

    Posted Mon December 03, 2018 05:09 AM

    You will find one in WmRoot package.

    Let me know if you don’t find it, will provide you with the complete service namespace.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: How to get service dependents in flow code

    Posted Mon December 03, 2018 10:09 PM

    wm.server.ns.dependency:getDependent you can use this service (note that is a private service and it can change without any notice, use it at own risk).


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 4.  RE: How to get service dependents in flow code

    Posted Wed December 19, 2018 03:06 AM

    thanks for your response. the only “getDependent” service I see in Designer is wm.tn.dependency:getDependent. Is this the same one you mean? It takes in 3 inputs:

    1. assetID
    2. assetName
    3. assetType

    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 5.  RE: How to get service dependents in flow code

    Posted Wed December 19, 2018 03:34 AM

    The service I mentioned is present in WmRoot by default it is hidden and you can view it by an extended setting.

    Can you enable that and refresh the designer to view the service mentioned.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 6.  RE: How to get service dependents in flow code

    Posted Wed December 19, 2018 03:37 AM

    Set the property watt.server.ns.hideWmRoot in IS Administrator > Extended Settings


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 7.  RE: How to get service dependents in flow code

    Posted Wed December 19, 2018 11:08 AM