Getting error- "message": "System error at initialization: Operation returned an invalid status code 'NotFound' at Source: UiPath.System.Activities",

While running the workflow

While running the workflow

@vaibhav2.chavan

Could you please restart Uipath studio and then try once.

No luck after restart.
Shall i share xmal with you?

Main.xaml (51.9 KB)

Anyone can you please help me to sort it out.

Hi @vaibhav2.chavan

Try this

Thanks
Ashwin S

@AshwinS2 - Im not getting, what exactly i have to correct.

@lakshman - Can you please help me to sort it out.

@vaibhav2.chavan

Could you please create new process by selecting REFramework as template and just run it once and check whether it’s giving same error or not.

Please let me know once you did this.

@lakshman - I ran new process, please see below details.

@vaibhav2.chavan

It’s running fine and we got this error because we are not using any Orchestrator.

Could you please run the above workflow in Debug mode and check where is the exact issue.

@lakshman - I ran in debug mode but im not getting what is the issue.

@vaibhav2.chavan

Have you specified the Queue Name properly ? And also is your BOT machine connected to Orchestrator or not ?

Could you please show me screenshot of Bulk Add Queue Items activity properties.

@lakshman - Yes i have given the Queue Name properly. Also BOT is connected to Orchestrator.

@vaibhav2.chavan

Could you please print the below 2 values before Bulk Add Queue Items activity using Message Box activity and check it once.

       RecordsDT.Rows.Count.Tostring
       Config("OrchestratorQueueName").Tostring 

And also one more thing you didn’t pass any output variable to Buik Add Queue Items activity.

@lakshman - Its showing the correct Row count and Queue Name.
Regarding Output variable to Bulk Add Queue Items - I think its not mandatory, i have created another workflow its working fine without the output variable.

1 Like

@lakshman-Its showing the correct Row count and Queue Name.
Regarding Output variable to Bulk Add Queue Items - I think its not mandatory, i have created another workflow its working fine without the output variable.

1 Like

@vaibhav2.chavan

It’s weird.

Did this BOT has access to add items to Queue or not ?

@lakshman - Yes BOT has access, my another process is adding the items to Queue

@vaibhav2.chavan

It’s looks like every thing perfect. But still we are getting same error. No answers from my side and am completely blank now. Sorry.

Could you please create new Queue and then try once and also restart both Orchestrator and studio application. I know this is not correct method but most of the solutions got resolved after restarting things.