Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I would like to know if it is possible to trigger a tWarn according to the content of a field.
For example, at the output of a tMap, three fields: Last Name, First name, Age.
If, for example, the "Name" is empty, then I trigger a message: "The name is not entered"
If, for example, the "Age" is 225, then I trigger a message: "Impossible, you are way too old !!"
Is it possible?
Hi,
Just add another output to your tMap using the filter part and link it to a tWarn.
In the condition put "a>b || b=15235 || "".equals(name)" in the filter.
I advise you to put the opposite filter on the other connector : "!(a>b || b=15235 || "".equals(name))"
Sincerely,