AnsweredAssumed Answered

Want to open a file using script task in Activiti 6

Question asked by rjazmin on Dec 18, 2017
Latest reply on Dec 19, 2017 by cjose

I am setting up a script task in Activiti 6 that will simply open a local file. I have gone through the documentation and other post and didn't see what I was looking for.

 

I set up my script task accordingly and in the script field I enter this down:

 

function myFunction() {
window.open('"https://www.w3schools.com"');
}

 

I even once tried using only the script : window.open('"https://www.w3schools.com"');

 

I keep on getting errors when I try to test. Can anyone direct me to an example that can better help me resolve this matter. Can anyone advise me what I am doing wrong. Thank you.

Outcomes