[opencms-dev] Workflow Enable

Schliemann, Kai K.Schliemann at comundus.com
Tue Jan 5 17:00:51 CET 2016


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] Im Auftrag von Christoph Kukulies
Gesendet: Dienstag, 5. Januar 2016 16:06
An: 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 _______________________________________________
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






More information about the opencms-dev mailing list