JS Rule transformRaw refers to missing type


I tried to use the transformRaw function but it throws an error:

TypeError: (intermediate value).transformRaw is not a function: TypeError: (intermediate value).transformRaw is not a function

here is my rule

var response = actions.HTTP.sendHttpGetRequest("http://xxxx:8008/static/muell.json")
	var varWaTi1 = actions.transformRaw("JSONPATH", "$.VEVENT", response)
      	console.log("json" +varWaTi1)

any help appreciated :slight_smile:

Looking to the example in JavaScript Scripting - Automation | openHAB I think it needs to be


instead of