Cannot run excel when set process as a background process

Hello everyone
In my process I am using excel activities ,when I set the process as a foreground process and run it from orchestrator or studio it works without any error .
but when I set the process as a background process I can run it from studio but when I run it from orchestrator I get this error message:
Excel Application Scope: Failed opening the Excel file . Possible reasons: the file is corrupt, the file is already used by another process or you don’t have permissions to open the file
thanks

@ahmad-zaitouni

Check whether the file is available in the path which you provided?

Is your bot license is unattended / Attended

Thanks

1 Like

Check @ahmad-zaitouni whether excel process is running already

So for safety put a kill process activity to kill excel process at the beginning of Workflow

1 Like

yes it is available , I can use the same file when I set process as foreground process

the bot license is non-production , I will set it as unattended and test it

I already kill excel process before use any excel activity

Which activity you are using?

I tested it with unattended and got same error

I tested excel scope activities and workbook activities and got same error