2

I started a development using the UiPath template called ‘Background Process’ and currently I’m facing an issue when reading orchestrator assets. It throws the error ‘You are not authenticated! Error code: 0’. But when I tried out UiPath RE-Framework based developments, this issue was not emerged. However I’m using the community editions of both studio and the orchestrator where the version is 2021.10.5. I’ve been struggling for whole 1 day trying out different solutions, but failed. No idea whether there is something with background processes or not. I would really appreciate your support ahead in time.

Image 1 - Normal flow without using either RE Framework or Background process enter image description here

Image 2 - RE Framework process enter image description here

Image 3 - Background process enter image description here

Image 4 - The main file of background process enter image description here

Punya Munasinghe
  • 261
  • 1
  • 6
  • 20
  • Good question. When I was using the `Background Process` in the past, I also had issues. This might be because the process is using another system user of Windows. But in your case, this sounds different. Can you share a screenshot of the same activities of a Background Process and a Regular Process? Did you already test without the RE Framework? So we can better compare what is missing. Maybe a scope is missing? – kwoxer Feb 09 '22 at 19:26
  • @kwoxer Thank you and yes I have checked without RE Framework as well. I have something to highlight in your answer. What did you mean by 'scope is missing'? Is it something to be added specially in background processes? I have added few screenshots for your reference – Punya Munasinghe Feb 09 '22 at 19:48

1 Answers1

2

I sorted out the issue by downgrading "UIPath.System.Activities" version into 20.4.0. Thank you.

Punya Munasinghe
  • 261
  • 1
  • 6
  • 20