Enabling e-mail notification for workspaces

Enabling e-mail notification in workspaces allows HCL 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.
HCL Commerce DeveloperNote: If you are enabling e-mail notification for workspaces in HCL Commerce Developer, follow the instructions in Enabling e-mail notification for workspaces in HCL Commerce Developer.

Procedure

  1. Configure the e-mail transportation method for your authoring environment.
  2. Assign the following message types to the e-mail transportation method:
    • RejectTaskNotification
    • ReadyToApproveTaskGroupNotification
    • ActivateTaskNotification
  3. Copy the following file to a temporary location:
    • workspace_dir/WC/xml/config/wc-workspace.xml
  4. Open the temporary copy of the file in a text editor.
  5. 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" />
    
  6. 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" />
    
  7. Save your changes.
  8. Update your deployment package to include your updated files. For more information, see Building a custom Docker image from a deployable package.