On 5/2/2012 9:56 AM, marieno2 wrote:
>
> Dear all,
>
> Is it possible to create a recursive policy?
> I mean, I have a hierarchy of objects in my directory and when a
> specific attribute is updated on my object at the top of the hierarchy,
> I want to do the same updates on my root object than on all objects in
> the hierarchy.
> Is it possible with a DirXML policy and if yes how to do it?


In DirXML Script, recursivly, in the traditional comp sci definition?
No. In ECMA, probably, and maybe XSLT. But I think you mean more in
the dir /s style recursive. (ls -R I think).

So your rule detects the event that triggers this.

Then you for-each over a query that returns all the objects you care
about. (as high up or as deep as you need). Then inside the for-each
loop, which is looping over all the objects (returning the info you need
to save procesing time), and then do all the work you need to do, one by
one.