with the usage of the immediate panel. we do have a good verification on its success. It was working as we refer to the screenshots
Related to the error it looks like you are trying to assing the result to a JObject.
As showcased above related to the different options keep in mind:
is similiar to
The main part would be

and therefore not a JObject
So adjust the DataType of HistoryEvent VCariable to List(of JObject)
and modify th stetement by appending toList
Assign Activity:
HistoryEvent =
eventJsobj("event").Values(Of JObject).OrderByDescending(Function (x) x("loggedDate").Value(Of DateTime)).toList
which is similar to:
And also keep in mind our statement: