Home > Forum > Actions > Constant, excel, document template process

Constant, excel, document template process
0

Hi,
I use process level constants when I need to generate MS Word attachments.
This gives me consistency when transferring processes between DEV / TEST / PROD.
I don't have to think about replacing the name /DOCTEMP/f8e86bc...e967af9b62 with another guid in appropriate action.

The same I wanted to do for generating MS Excel attachments. Unfortunately I get the error:
WebCon.WorkFlow.Common.Exceptions.WorkFlowException: An (name) action execution error on a menu button occurred. ---> System.Net.WebException: Cannot get document template for id: / DOCTEMP / {EPV: 6}

It appears in Webcon 2020 and 2021 (Starter Edition). Additionally I tried with global constants but the result is the same.

In reply to: Daniel Krüger (DCCS)

Hi Grzegorz,

I've just tested it and it worked fine with version 2021.1.3.205.

Did you copy the error message? What's strange is, that the are spaces before/after the '/' character. Or do they really exist? Perhaps you accidently did select the file selection mode 'From URL' instead of document template process.

Best regards,
Daniel

Thanks Daniel for your comment.
There are not spaces. They appeared during copying. It could be problem with version. I tested on Started Edition 2021.1.2.76. I'll upgrade Starter to the newest version in next week.
I'm going to upgrade production from 2020 to 2021.1.3.205 at the end of September.