Dear gurus,
I’m working with PI 7.30 and I’ve a Java mapping which I’d like to stop when a certain field comes empty from ERP.
I mean during my code I’m checking if the field is empty and in case it is an exception is raised to flag the message to red at SXI_MONITOR.
Unfortunately I’ve been trying the classes StreamTransformationException , StreamTransformationRuntimeException,RuntimeException, Exception, etc.. but without success.
my code inside a method:
if(fName.equalsIgnoreCase("") || fFrmt.equalsIgnoreCase("")){
thrownew RuntimeException("text");
Does anyone knows how to achieve that?
Thanks in advance and regards,
Jorge