On Wed, 2009-02-04 at 11:45 +0530, Sandipan karmakar wrote:
> Hi all,
> 
>     I have two questions related to workflow. I have installed the
> workflow module and the "activation" flow is working fine. Now suppose
> I have the following six pages in the website tab.
> /page1
> /page1/subpage1
> /page1/subpage2

> /page2
> /page2/subpage1
> /page2/subpage2

> Now my first question is how I can configure the workflow so that the
> "activation" workflow is applied only for "page1" and its sub pages,
> i.e. subpage1 and subpage2, so that when I activate the page2 or its
> sub pages then the activation workflow is not invoked.

As I see it you have two options:
- either modify default workflow to treat content differently based on
its path (and in second case skip the approval step and activate
directly)
- write your own command that will conditionally invoke different
subcommands (to either launch the workflow or activate directly based on
the content path) and insert it
in /modules/admininterface/commands/website instead of default
"startFlow" command (or replace whole command chain there)


> And the email notification is also not working though I removed the
> commented xml blocks which are supposed to shoot the notification in
> the activation workflow xml.

And you have double checked your mail server configuration
under /modules/mail/config and are sure server is configured properly
and can send mails from normal templates without any problems right?

cheers,
Jan



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to