Manually firing off the trigger "On Component Error" from a tJavarow

Four Stars

Manually firing off the trigger "On Component Error" from a tJavarow

I would like to error out a tJavaRow with a condition in my code,  is that possible to fire off the "On Component Error" with code?
Moderator

Re: Manually firing off the trigger "On Component Error" from a tJavarow

Hi,
The Java code of the tJavaRow will be executed for each row. The tJavaRow is normally used as an intermediary component.
For your use case, you can use tJava component which is used to execute a piece of Java code as a separate subjob in most cases. The Java code will be executed only once.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.