From: Geoff D. <ge...@ge...> - 2004-07-26 19:34:09
|
Thanks for the fix. Are you looking for the id of the transition? If so, that's pretty easy to get: just pass it to your script in the transition expression you put in portal_transitions. "Damon Lynch" <da...@as...> wrote in message news:pan...@as...... > On Sat, 24 Jul 2004 22:42:19 -0400, Geoff Davis wrote: > > > PortalTransitions lets you execute an arbitrary sequence of scripts before > > and/or after a workflow transition. Sample uses: > > > > * Send mail to reviewers when new content is submitted * Send mail to > > content owners when their content is published / rejected * Invalidate a > > RAMCache entry when objects are published / retracted > > Thank-you very much, I've installed it and it works well. I'd like to > merge into it Andy's moveObject script, which moves objects on > a state change like publication. However it requires the state_change > parameter -- is it possible to somehow get the reference to this from the > object itself? > > BTW I committed a very minor bug fix in the reject / published > message, I hope that's ok :) > > Thanks again > Damon > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click |