It seems a bug of UiPath.System.Activities package 23.2.0-preview in Windows project.
As a workaround, can you try to downgrade UiPath.System.Activities package to 22.10.4?
(Or use Windows-Legacy)
The error message indicates that the currentItem.Values expression is trying to perform an implicit conversion from IJEnumerable(Of JToken) to JToken, which is not allowed with Option Strict On.
To fix this error, you can explicitly convert the result of currentItem.Values to a list of JToken using the .ToList() method. Here’s an example:
Dim valuesList As List(Of JToken) = currentItem.Values.ToList()
Then you can iterate over valuesList instead of currentItem.Values. This should resolve the error and allow your code to compile with Option Strict On.