Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hello All,
I am trying to execute my JS on codbeamer workflow custom actions. My JavaScript contains sample REST API Call operation and I am getting this error.
How to resolve this? or add require packages on codebeamer ?
HI @Deepak_kankhare ,
There is a syntax error in your custom script, specifically a duplicate "const".
Could you please open your script and check for syntax errors or duplicate keywords?
Thank you.
Thank you for your reply @gkosa , my script is working locally without an error.
For REST calls need a special library that needs to be included in the script and Codebeamer is not recognizing it. (i.e Node-fetch)