App Connect

App Connect

Join this online user 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.


#Applicationintegration
#App Connect
#AppConnect
 View Only
  • 1.  Throw Node : use a XPath

    Posted Wed December 06, 2023 07:01 AM

    Is there a way to use a XPath for setting value on Message Text property in a Throw Node?

    XPath on message text



    ------------------------------
    Paolo Alberti
    ------------------------------


  • 2.  RE: Throw Node : use a XPath

    Posted Sun December 10, 2023 08:51 AM
    Edited by Irfan Shahzad Sun December 10, 2023 08:52 AM

    Hi Paolo, I don't think it's possible to reference tree structure like (Root, Environment, LocalEnvironment etc.) in properties of Throw Node. According to the documentation, value has to be a free text. 

    From ESQL module (Filter, Compute, Database etc.), you can conditionally throw user exception and provide your own custom message, referencing values from tree structure, in the exception. Refer to the following link on how to throw user exception.

    THROW statement - IBM Documentation

    Throw node - IBM Documentation 



    ------------------------------
    Irfan Shahzad 
    Integration Architect
    ------------------------------