[opencms-dev] Workflow Enable

Schliemann, Kai K.Schliemann at comundus.com
Wed Jan 20 10:09:50 CET 2016


Hi Yoko,
in your configuration all members of the Administrators group should get an E-Mail, when a member of the Users group starts the publishing process.
In the publish dialog is a select box called “workflow”. Whenever a user chooses “publish”, the publishing process should be started and an email should be sent.
HTH
Best regards
Kai


Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Zeth
Gesendet: Dienstag, 19. Januar 2016 20:49
An: The OpenCms mailing list <opencms-dev at opencms.org>
Betreff: Re: [opencms-dev] Workflow Enable

Hi,

do i still need to do a schedule job notification in order for workflow-noitification to trigger?

        <workflow class="org.opencms.workflow.CmsExtendedWorkflowManager">
            <parameters>
                <param name="workflowProjectManagerGroup">Administrators</param>
                <param name="workflowProjectUserGroup">Users</param>
            </parameters>
        </workflow>

i have added above to the opencms-system.xml, but still wont trigger mails, thou did scheduled job notification, but the email it sent me is those email that states

you are responsible...
winthin the next week...
files that were not updated ...


any idea?

thanks,
Yoko

On Tue, Jan 5, 2016 at 10:16 AM, Michael Emmerich <m.emmerich at alkacon.com<mailto:m.emmerich at alkacon.com>> wrote:
Just a short notice:

The   <param name="notificationContent">/.content/workflow-notification.html</param> is not mandatory, if it is not set, the system uses the default file (/system/workplace/admin/notification/workflow-notification)  for generating the email. In fact, I never used a different one so far :)

Kind regards
Michael



Am 05.01.2016 um 17:00 schrieb Schliemann, Kai:
Hi,
sorry for the short explanation.
Step 1:
You have to put the following code into opencms-system.xml (put it at the bottom of the file just before the closing </system> tag):
         <workflow class="org.opencms.workflow.CmsExtendedWorkflowManager">
             <parameters>
                 <param name="workflowProjectManagerGroup">Administrators</param>
                 <param name="workflowProjectUserGroup">Users</param>
                 <param name="notificationContent">/.content/workflow-notification.html</param>
             </parameters>
         </workflow>
Step 2:
Restart servlet container
Step 3:
Create a file of type xmlcontent as defined in param "notificationContent". Use a file from /system/workplace/admin/notification/ as template.

That should be it.
HTH
Best regards
Kai


-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org<mailto:opencms-dev-bounces at opencms.org> [mailto:opencms-dev-bounces at opencms.org<mailto:opencms-dev-bounces at opencms.org>] Im Auftrag von Christoph Kukulies
Gesendet: Dienstag, 5. Januar 2016 16:06
An: opencms-dev at opencms.org<mailto:opencms-dev at opencms.org>
Betreff: Re: [opencms-dev] Workflow Enable

Am 04.01.2016 um 11:46 schrieb Schliemann, Kai:
Hi,
put this code in opencms-system.xml:

      <workflow class="org.opencms.workflow.CmsExtendedWorkflowManager">
         <parameters>
           <param name="Projectmanagers">the user group, responsible for publishing content. The users should have the role Projectmanager</param>
           <param name="Users">the group of users which has no publishing permission.</param>
           <param name="notificationContent">/.content/workflow-notification.html</param><!-file of type ContentNotification. You can configure the email, send to the Users / Projectmanagers here. -->
         </parameters>
      </workflow>

Best regards
Kai
Hi Kai,

could you explain where one can find the file of type ContentNotification? Is it in the New item dialog?

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de<http://rwth-aachen.de> _______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev



_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev




--
Alkacon Software GmbH - The OpenCms Experts
Michael Emmerich

http://www.alkacon.com
http://www.opencms.org


Geschäftsführer: Alexander Kandzior, Amtsgericht Köln, HRB 54613


_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20160120/2657dbcf/attachment.htm>


More information about the opencms-dev mailing list