Yesterday I installed the “Required update” when i saw the pop up notification in the bottom right. After that update, i have seen a few errors.
1: My Invoke PowerShell activity is not working anymore, because it probably is not handling variables anymore. It’s not only in Studio, during debug. Processes in Orchestrator have same exceptions after the update, so I believe it’s related to the client too.
If I simply try to Invoke PowerShell activity with this script:
“[System.Text.Encoding]::UTF8.GetBytes(‘test’)”
then I get this exception:
Message: The following exception occurred while retrieving member “GetBytes”: “GenericArguments[0], ‘System.ReadOnlySpan1[System.Char]', on 'System.Func3[T1,T2,TResult]’ violates the constraint of type ‘T1’.”
Actually it’s bug. When you open the Advanced Expression Editor even though your expression is correct, it’s throwing an error. You can run your workflow as usual. It won’t cause you any problem or error. You cannot download the previous version of UiPath Studio community edition.
Thank you, that’s what I thought. But the Invoke Powershell activity suddenly cannot run scripts with GetBytes() in it. It can still run this for example:
What required update are you talking about? I choose when I update.
Are you using Community Edition? If so this is just a thing with community, it where they test things.
Switch to Enterprise LTS installs if you want stability.
Community is just for learning, so to me its weird you encounter this issue. Like I said, why aren’t you using Enterprise LTS releases and getting stable updates. Devs normally use Enterprise and I am wondering why you are instead using Community, it could be you just don’t know about the LTS releases and why I ask.