cancel
Showing results for 
Search instead for 
Did you mean: 

Execute webscript from Rule

sakshik
Star Contributor
Star Contributor

I have a WebScript (xml,html and js files)which takes alfresco ID of a file as its parameter and sets some properties. Can this web script be called from "Execute Scripts" of "Manage Rules".

1 ACCEPTED ANSWER

krutik_jayswal
Elite Collaborator
Elite Collaborator

Execute Script Options from manage rules, have a list of script which are there inside the

This are basically webscript controller only, so you can copy controller script and create a new once inside this folder, Obviously you nneed to change the way of using the paramater, In the rule script you can use the document  var as the document variable.

View answer in original post

2 REPLIES 2

krutik_jayswal
Elite Collaborator
Elite Collaborator

Execute Script Options from manage rules, have a list of script which are there inside the

This are basically webscript controller only, so you can copy controller script and create a new once inside this folder, Obviously you nneed to change the way of using the paramater, In the rule script you can use the document  var as the document variable.

Thanks