(Developer)
Enable e-mail notification for workspaces
Enabling e-mail notification in workspaces allows e-mail to be sent automatically when the state of a task changes.
- 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: The development environment is not meant to be an authoring environment. Support is provided in the environment for customization purposes only. For example, testing out changes to the content management functionality, and for simple tests, such testing out how the function works for the very first time. The ability to push out changes is not available. To make changes to the content management workspaces, we cannot publish the changes out to another database.
Procedure
- Configure the e-mail transportation method for the authoring environment.
- Assign the following message types to the e-mail transportation method:
- RejectTaskNotification
- ReadyToApproveTaskGroupNotification
- ActivateTaskNotification
- Open the following the file in a text editor: workspace_dir\WC\xml\config\wc-workspace.xml
- 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:
<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 our changes.
- Stop and restart WebSphere Commerce.
Related concepts
Workspaces overview
Related tasks
Enable Workspaces in the WebSphere Commerce development environment
Running authoring environment update scripts
Creating an authoring environment
Configure a transport method for the site
Assigning a message type to a transport method for a site or store