The code line in the subject throws an error: To execute this expression activity type “VisualBasicValue`1” it is required to compile. Assure, that this workflow is compiled.
This is the first line of the project, so I dont see any obvious user created problem.
The original german version of the error is: Assign: Zum Ausführen des Ausdrucksaktivitätstyps “VisualBasicValue`1” ist eine Kompilierung erforderlich. Stellen Sie sicher, dass der Workflow kompiliert wurde.
For me it fails in an assign activity. If I use a variable and put the code in there, it also works flawlessly. At least till I get to a append file activity with the following line as text: System.DateTime.Now.ToString(“hh-mm”), where it then just runs indefinitely without writing anything in the file (tryed to upload a picture of it, but apperently it uploads the picture and then just vanishes)
Yes, I’ve learned a lot of vb as I’ve learned UiPath. Unless you’re in C# mode, what you’re really doing is writing VB code, the activities just hide it behind a visual layer. If you were so inclined, I think you could write your entire automation in vb using the UiPath libraries.