Hey there,
it’s the first time I’m trying the Java Snippet Knode even though I do have some experience in Java. Anyhow, I wrote some Code but I can’t figure out, what the errors mean:
My code as text:
If ($Erzeugnisnr.$.endsWith("-…-…")){
zs1=$Sortierkriterium1$;
If ($Produktstatus, Lebenslauf$ == null){
throw new Abort ("Exception: "+$Produktstatus, Lebenslauf$);
} else {
zsPS=$Produktstatus, Lebenslauf$;
}
}
If (zwischenspeicher1.equals($Sortierkriterium1$)) {
If ($Rumpf$!=null && $Produktstatus, Lebenslauf$ == null)
return zwischenspeicherPS;
}
It says I missed some semicolons and the knode doesn’t get the ‘else’, but I don’t understand why.
I would be very grateful if someone could help me.