AnsweredAssumed Answered

Javascript reference to inbound space

Question asked by slothrop on Aug 28, 2007
Latest reply on Sep 20, 2007 by slothrop
I want to use a simple workflow to copy a subspace of the user home into another space.  I would like to execute javascript on the space when it enters the destination space so I can rename it and set permissions.  How do I get a reference to the inbound space in Alfresco version 2.1?

When I have javascript in a workrule that executes on an inbound document I can refer to it as "document" but when it is an inbound space, "space" doesn't work.  "Space" refers to the destination space not the inbound one.

Outcomes