Calling webscript in alfresco workflow

cancel
Showing results for 
Search instead for 
Did you mean: 
Active Member II

Calling webscript in alfresco workflow

Hi,

I want to call an webscript from alfresco workflow form to popualate the values which I am getting from an external system. My webscript contains the code hit the external system webservice and giving the response in json format.

Can anyone please tell how can I call the datawebscript from workflow?


var connector = remote.connect("alfresco");
var peopleJSONString = connector.get(url);

I am getting remote is not defined.

Thanks,

Sandhya