Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • {{Content type}}
  • {{Content title}}
  •  {{Content link}}
  • {{Creator name}}
  • {{Reviewer name}}

Custom templates:

We can also create custom email template channel/tenant specific. If customized templates are not present, the default template will be used to send email for different actions in review workflows.

...

For example, If slug is "sunbird" and action is send for review, template name should be "sunbird_sendforReviewTemplate". Sample custom template configuration.

{
 "request": {
  "type": "notification",
  "action": "sendforReviewsendForReview",
  "subType": "email",

  "rootOrgId": "0123166367624478721",
  "data": {
  "templateName": "sendforReviewTemplate",
  "sendForReviewTemplate",
"action": "sendForReview",
"fields": [{
"body": "Congratulations! The content that you had submitted A content has been accepted submitted for publication.It will be available for usage shortly. <br> <br><b> Content review.<br><br><b>Content Type: </b>{{Content type}}<br> <b>     Content Title<br><b>Title: </b>{{Content title}}<br><b>Creator: </b>{{Creator name}}<br> <b>Content Link<br><b>Link: </b>{{Content link}}<br>",
  "subject": "Congratulations, your content is live!Content has been submitted for review! Content Type: {{Content type}}, Title: {{Content title}}",
   "logo": "https://dev.open-sunbird.org/assets/images/sunbird_logo.png"
  }]
}
 }
}

Limitation:

  • Only predefined placeHolder can be dynamically replaced with content data while sending mail

...