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
  • 1.  webMethods.io Execute Workflow from API Methods

    Posted Tue May 07, 2024 07:59 AM

    Product/components used and version/fix level:

    webMethods.io Integration

    Question related to a free trial, or to a production (customer) instance?

    Good day,

    I have imported an API definition into my webMethods.io Project.

    When I go to the resources and methods I see I can only execute a flow services but not a Workflow. Is it possible to execute a Workflow from the API resource? If so, what will be the best way to accomplish this?

    Kind Regards,
    Cobus Boshoff


    #webMethods-cloud
    #webMethods
    #webMethods-io-Integration


  • 2.  RE: webMethods.io Execute Workflow from API Methods

    Posted Tue May 07, 2024 08:22 AM

    Yes, you can APIfy a workflow. There are three conditions to make it work:

    1. The WF trigger must be of type webhook
    2. The last step of your WF needs to be a “return Data on Sync Webhook”
    3. You must perform a unit test on this step, otherwise the WF won’t be available for selection in the APIs section

    Keep in mind workflows are triggered in asynchronous fashion, even if the trigger is a HTTP request.
    Also, trigger invocations is limited to 15000 per minute.
    If you have strong requirements at latency level, or if you need to expose an API that supports large volumes of calls, then flow services are a better choice


    #webMethods-cloud
    #webMethods
    #webMethods-io-Integration


  • 3.  RE: webMethods.io Execute Workflow from API Methods

    Posted Tue May 07, 2024 08:29 AM

    Hi Stephane,

    Thank you! I will give it a try.

    Kind Regards,
    Cobus Boshoff


    #webMethods
    #webMethods-cloud
    #webMethods-io-Integration


  • 4.  RE: webMethods.io Execute Workflow from API Methods



  • 5.  RE: webMethods.io Execute Workflow from API Methods

    Posted Tue May 07, 2024 11:02 AM

    @Cobus_Boshoff
    What is the use case for your API endpoint? Typically Flow services are recommended for API endpoints. What are you planning for your Workflow to do?


    #webMethods
    #webMethods-cloud
    #webMethods-io-Integration