Possible Bug? (Column Expression's Multi-Row)

Hi, please can someone check out this error?

WARN Column Expressions 4:2 An error occurred in script 1:
Type error: Can not invoke method [jdk.dynalink.beans.SimpleDynamicMethod boolean java.lang.String.equals(Object)] with the passed arguments; they do not match any of its method signatures.

It occurs when I’m trying to compare strings using the “.equals” syntax in a multi-row access context.

Here’s the dummy workflow to reproduce the error:
bug test column x.knwf (15.4 KB)

At the moment, my workaround for the issue is to use the Lag Column beforehand, then compare the strings with Column Expression or Rule Engine. But it would be nice if this possible bug can be resolved. Saves me one less node :grin:

Update: Sorry, false alarm.

Turns out that the syntax for multirow access that I used was wrong. Should be column(“Column_Name”,-1) instead of (column(“Column_Name”),-1).

2 Likes

Hey @badger101 , glad to see it wasn’t a bug after all. Maybe you should mark your update as “solution”…

This of course serves a couple of purposes…

… the main one being I want to know if it will boost your position on the LEADERBOARD:wink:

Not that I would have any interest in trying that myself… no of course not… :rofl:

2 Likes

@takbb Oh didn’t know such leaderboard exists lol… but that’s okay I’ll pass for now :rofl: Appreciate you looking out!

1 Like

I went ahead and marked it solved anyway :slight_smile: Thanks for posting your followup @badger101

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.