AnsweredAssumed Answered

How to terminate action via spel macro without displaying error?

Question asked by cdtj Champion on Dec 29, 2015
Latest reply on Jan 14, 2016 by Gutis

Hi team,

I have complex LREL tables with multiple columns,

on each inserting I'll checking data and if it matches some patterns new data are merging with existing,

otherwise it completes without any actions.

 

My current algorithm looks like:

if (<some pattern>) {
     <merge data>;
     set_error(1);
     set_return_data("Merge complete");
} else {
     <do nothing>
}

this works as defined but on each merge it shows error message, which can dissapoint other admins.

 

So I'm looking a way how to prevent inserting and break operation without error message.

 

Regards,

cdtj

Outcomes