Hi John, I'm using Magnolia 3.6.3. It tried your suggestion but it had no effect. What is strange is that when the expiration date is reached, the document isn't even deactivated, so ignoring completely my definition.
Is there some documentation available somewhere to define such workflows? Françoise. -------------------------------------------------------- Françoise Gérard ([EMAIL PROTECTED] ) Senior Consultant BSB Luxembourg (www.bsb.com) 7A, rue des MérovingiensZ.A.I. Bourmicht - L-8070 Bertrange T:+352 47 57 39 56 - F:+352 47 57 39 99 -------------------------------------------------------- BUSINESS SOLUTIONS BUILDERS DISCLAIMER This e-mail message and any attachments are intended exclusively for the addressee(s) and may contain information which is confidential and/or protected by intellectual property rights. If you receive this e-mail by mistake, please notify immediately the sender, or Business Solutions Builders (by e-mail at [EMAIL PROTECTED]), and delete the message and any attachments without printing, copying or opening it. Any disclosure, reproduction, distribution or use of this message or any attachments, by persons other than the designed addressee(s), is strictly prohibited. E-mail transmission and Internet use cannot be guaranteed to be secure. Business Solutions Builders and its subsidiaries cannot be held responsible for any loss, delay or damage arising from their use. -------------------------------------------------------- -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Mettraux Sent: samedi 6 décembre 2008 3:16 To: Magnolia User-List Subject: Re: [magnolia-user] Activation workflow customization On Fri, Dec 5, 2008 at 11:33 PM, Françoise Gérard <[EMAIL PROTECTED]> wrote: > > I would like to customize a little bit the activation workflow : put a > message in the editor inbox when an expiration date is reached. > > I tries to add <to-editor/> to a new workflow copied from the original > activation one, like this > > <!-- deactivate (if scheduled)--> > > <if> > > <defined field-value="endDate"/> > > <sequence> > > <sleep until="${f:endDate}"/> > > <participant ref="command-deactivate"/> > > <to-editor/> > > </sequence> > > </if> > > But it seems to have no effect. Hi Francoise, I don't a magnolia copy around, sorry, IIRC "to-editor" is a subprocess, maybe you could replace it with <participant ref="editor" /> and see what happens. >From the admin central you can check as well if the workflow really created a workitem in the inbox by looking at the special tree view for Workitems (there is one for Expressions and one for the Website itself IIRC). Don't hesitate to look at the magnolia logs for hints. Which version of Magnolia are you using BTW ? Best regards, -- John Mettraux - http://jmettraux.wordpress.com ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[EMAIL PROTECTED]> ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[EMAIL PROTECTED]> ----------------------------------------------------------------
