Hi
@Dion
Just to confirm the scenario. Was your project running without an issue, but as a published process on some robot, and now that you come back to the actual source code - it gives an error when opened on a newer Studio version?
Would you mind sharing the project (either here or via a PM to me), as well as your Studio version?
If it was working earlier, you didn’t make any changes and suddenly Studio started showing errors, there could be possibility of one or more Studio services not working properly.
Try to restart Studio and check. Still issue persists, try to restart the system you are using.
Try this solution only and only if the quoted criteria fulfilled.
Regards,
Ashok
Yes, It ran normal on this machine. It was not published yet. This morning I just added some activities and all of a sudden there where errors in parts that worked before.
I will send it to you via PM. I use studio 2023.10.3. It was build in this version and ran in this version before.
Can you specify your requirement
@Dion
Try deleting the Add Data Row activity and reform it again.
{New DateTime(DateTime.Now.Year, DateTime.Now.Month, 1).addMonths(-1).Tostring(“dd-MM-yyyy”),“Warmte”,“WarmteVerbruik”,“GJ”,strWarmteVerbruik}
Regards
Thank you for the project @Dion . I was able to reproduce this on the latest Studio 2023.12 as well.
We will investigate further, but so far my findings are that:
the error BC30037: Character is not valid
is due to the €
character in the string
the error BC30035: Syntax error
seems to be due to the :
character in your path
For both of the above, a temporary workaround would be to provide those inputs as a variable (this should work and “skip” the issue of a validation error)
the error BC30198: ')' expected
seems to be some sort of issue with parsing of the specific expression. I was able to work around it by adding some extra line breaks like so:
I know all the above are just workarounds, but I figured it might come useful while we investigate it further and work on a fix.
Troubleshooting Guide : Conversion from Windows-Legacy project to Windows project Tutorials
This topic describes troubleshooting guide regarding conversion from Windows-Legacy project to Windows project as of Dec 2023. Hope this helps those who face these problems.
1 Quick Reference by Error Messages, Situation etc.
Open project
foobar.xaml: Cannot create unknown type’{clr-Namespace:UiPath.foo.Activities;assembly=UiPath.bar.Activities}ActivityName’.
2.2 Missing Activities package OR 2.3 Missing activity
Development
Unable to set pro…
Cheers
I did more digging by trimming the workflow, because it was a really strange issue. I found this activity with one double quote too much:
It somehow messed up Studio validation flow and things escalated really quickly. Removing the extra double quote should be the actual solution.
EDIT. Of course, we will have a look at this, because Studio should contain the error to the single activity with the issue.
Log In using your UiPath Account to:
• get help with your automation projects
• share feedback, report bugs or just drop us any question
• become an MVP and get access to
exclusive events
• save your user preferences like themes and more
• automatically sign in to other services
• get in touch with our Forum staff