Access issue while executing the reflection file through Automic workflow

Discussion created by Jahan_Ramadass_9677 on Nov 2, 2017
Latest reply on Nov 3, 2017 by robert_thullner_automic
I have a workflow with windows job(in Powershell) which will connect to Windows server and execute the reflection job(.r2w file) 
When i tried the command(C:\"Program Files (x86)"\Attachmate\Reflection\r2win.exe /s "Z:\Data\Scheduler.r2w" /u) by logging into the server manually, it didn't show any error and ran the process completely.

But when i try to achieve the same through workflow, it says
"Unexpected Error :Microsoft Excel cannot access the file 'Z:\Data\InputSheet.xlsx'. There are several possible reasons:

• The file name or path does not exist.
• The file is being used by another program.
• The workbook you are trying to save has the same name as a currently open workbook. Stopping the Execution"

Not sure why it says file not available/used by other program.  Is it something that am i missing.
Appreciate your help.