Java stream API
Confluence User - 01 Aug, 2019
Hello,
When manipulating a Collection in Bean Shell Tool, I wanted to use the Java 8 stream API (myCollection.stream().filter().andsoon)
In my code I have a collection of WorkflowActivities activities and I want to find the first for which ActivityDefId = "firstMb1" :
But this does'nt work :
ERROR 01 août 2019 06:24:43 org.joget.apps.app.lib.BeanShellTool - Error executing script
Parse error at line 36, column 20. Encountered: >
It actually is my lambda expression that seems to rise an Error.
Any ideas?
Thanks
Baptiste
plugins