WebSphere Commerce Developer

Enabling 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. If you want to make changes to the content management workspaces, you cannot publish the changes out to another database.

Procedure

  1. Configure the e-mail transportation method for your authoring server.
  2. Assign the following message types to the e-mail transportation method:
    • RejectTaskNotification
    • ReadyToApproveTaskGroupNotification
    • ActivateTaskNotification
  3. Open the following the file in a text editor: WC_eardir\xml\config\wc-workspace.xml
  4. 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" />
    
  5. Save your changes.
  6. Stop and restart WebSphere Commerce.