AnsweredAssumed Answered

Question regards Rule Scripts.

Question asked by hyperation on Jul 28, 2009
Latest reply on Jul 28, 2009 by kbonnet
Hi Everyone,

Can someone please tell me how the "return" works in the Rule scripts.

I saw an example script that looks like this :

space.name = space.name + " 1";
space.save();

function result()
{
   return (true);
}
result();

The result function is called and it returns true.  I want to know where or how Alfresco handles the return?  Is it necessary to have one?

It would be really great if there is a documentation or wiki page that explains rule scripts.

Thanks
:)

Outcomes