UiPath / orchestrator-powershell

UiPath Orchestrator PowerShell cmdlet library
MIT License
106 stars 56 forks source link

Get-UiPathProcess returns an error: The operation returned an error: 0: An error has occurred. #77

Closed Bhuard1 closed 4 years ago

Bhuard1 commented 4 years ago

Hi,

If I only send a Get-UiPathProcess command I get error: The operation returned an error: 0: An error has occurred. This was working last friday.

If I send the Get-UiPathProcess -id , then I get a returned value. But my script does a Get-UiPathProcess to get all values. Using version 19.4.0.33 of the UiPath.PowerShell

Event log on the server. System.NotSupportedException: The method 'Skip' is only supported for sorted input in LINQ to Entities. The method 'OrderBy' must be called before the method 'Skip'.

I am guessing this is caused by the latest check-in of the code; something about "Paging...".

I will attempt to download the previous version; wasn't able to figure out how to download previous version, so I guess I am going to wait for a response

Thanks

prshntshinde commented 4 years ago

Facing the Same issue. It works when we provide "Id" parameter.

image

rusanu commented 4 years ago

Will post a fix soon. Thanks for reporting this.