Hi All,
I am unable to assign a variable Path to Word Application scope. Below is the mentioned error. How do I fix this ?
Hi All,
I am unable to assign a variable Path to Word Application scope. Below is the mentioned error. How do I fix this ?
Please check the filename of word file or put the file name you passed in in_OutputFolder
Debug the process in immediate panel or put log message whether your filename contains unwanted symbols
Make sure your file path does not contain the special characters. check the below image.
Hope it helps!!
Can you show us what is value in the variable in_OutputFolder
When I pass file name directly instead of variable it is not showing error. But this filepath is variable and changes for every file. Hence I need to assign a variable to it.
It’s simply like Statistics_1 . No prohibited characters are being used.
Issue is that is is not accepting variable/argument. It is only taking hardcoded value.
Then your path must be like Data\Output\Statistics.docx
. It seems your extension is missing in your variable
Regards
The word doc ends with .docx
Sample image with input file
Issue is that is is not accepting variable/argument. It is only taking hardcoded value.
I am not able to run the xaml as it is facing validation error due to this issue.
Does it help if you upgrade/downgrade Word activity package version?
Click on Open Advanced Editor and pass the variable where you have stored the file path. Make sure your file path is "Data\Output\Statistics.docx"
.
Regards
Downgrading the package worked, thank you.
ohh that’s seems a bug then.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.