App Connect

 View Only
Expand all | Collapse all

Two nodes IBM DB2 in the same APP Connect Cloud flow

  • 1.  Two nodes IBM DB2 in the same APP Connect Cloud flow

    Posted Wed December 22, 2021 09:43 AM
    Hi,

    I'm developing a flow for an API's operation (method get) in APP CONNECT CLOUD v11. The GET operation has two parameters. The values of these parameters are used to make queries to a DB2 database. When the user tells me only one of the parameters, I make a query. When the user tells me the two parameters, I do another query. Each query is made through a different DB2 node in the flow. 

    The response of the operation is the records of the query that was executed. How can I make the response node contemplate the records of the query that was executed dynamically?


    ------------------------------
    Sistemas IT Europastry
    ------------------------------


  • 2.  RE: Two nodes IBM DB2 in the same APP Connect Cloud flow

    Posted Thu December 23, 2021 06:15 AM
    In Pseudo Code I would do something like this

    flow1 = get1
    records = SQL(get1)
    process(records)

    flow2 = get1,get2
    records = SQL(get1,get2)
    process(records)

    ------------------------------
    Matthias Jungbauer
    ------------------------------