AnsweredAssumed Answered

Calling web page from script task

Question asked by ojaro on Jan 24, 2014
Latest reply on Jan 28, 2014 by jbarrez
Hi all,

Is there a way to call an external web page/service from a script task using JavaScript?

I did a test trying to use XMLHttpRequest, but as expected got the folllowing error:

Exception:"XMLHttpRequest" is not defined

Then I came across this article:

http://www.unorganizedmachines.com/site/software-and-technology/34-software-development/97-calling-web-services-from-alfresco-web-scripts

Anyone know how to convert this for Activiti? For example, it does not seem like baseJavaScriptExtension exists in Activiti.

Big thanks for your help in advance.

Regards,

Olli

Outcomes