Enabling e-mail notification for workspaces
Enabling e-mail notification in workspaces allows WebSphere Commerce to send e-mail automatically in certain situations.
- Workspace Content Contributors will receive e-mail notification when a task they are assigned is part of a task group that has been activated.
- Task Group Approvers will receive e-mail notification when a task group for which they are an approver is ready for approval.
- Workspace Content Contributors will receive e-mail notification if a task group approval request is rejected and their assigned tasks are re-activated.
Note: If you are enabling e-mail notification for workspaces in
WebSphere Commerce Developer, follow the instructions in Enabling
e-mail notification for workspaces in WebSphere Commerce Developer.
Procedure
- Configure the e-mail transportation method for your authoring server.
-
Assign the following message
types to the e-mail transportation method:
- RejectTaskNotification
- ReadyToApproveTaskGroupNotification
- ActivateTaskNotification
-
Copy the following file to a temporary location:
- WC_eardir/xml/config/wc-workspace.xml
This file should never be directly modified. For more information, refer to XML configuration directory.
- Open the temporary copy of the file in a text editor.
-
Find the following text:
<ActivateTaskEmail isEmailEnabled="false" from="" cc="" bcc="" language="en_US" /> <RejectTaskEmail isEmailEnabled="false" from="" cc="" bcc="" language="en_US" /> <ApproveTaskGroupEmail isEmailEnabled="false" from="" cc="" bcc="" language="en_US" />
-
Change the text to the following:
<ActivateTaskEmail isEmailEnabled="true" from="" cc="" bcc="" language="en_US" /> <RejectTaskEmail isEmailEnabled="true" from="" cc="" bcc="" language="en_US" /> <ApproveTaskGroupEmail isEmailEnabled="true" from="" cc="" bcc="" language="en_US" />
- Save your changes.
-
Update WebSphere Commerce with the updated file. For more information, see the Updating enterprise application files topic. Ensure that you follow the instructions for updating a
single file.
You will need the following information:
Option Description Enterprise application name WC_enterprise_application Relative path to file xml/config/wc-workspace.xml - Stop and restart WebSphere Commerce.