Javascript JSR223 with Next-Gen Rules Add-on not working

Please have a look https://github.com/lewie/openhab2-javascript and https://community.openhab.org/t/experimental-next-gen-rules-engine-documentation-4-of-writing-scripts/55963

I want to execute an action and therefor need getAction Method from lewie’s library. Can I execute an action with the basics?