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
------------------------------
Original Message:
Sent: Wed December 06, 2023 07:01 AM
From: Paolo Alberti
Subject: Throw Node : use a XPath
Is there a way to use a XPath for setting value on Message Text property in a Throw Node?
------------------------------
Paolo Alberti
------------------------------