Creating a Custom Notification Template in Harness

  1. 1. C

    C
  2. 2. Click on Project Settings

    Click on Project Settings
  3. 3. Click on Templates

    Click on Templates
  4. 4. Click on New Template

    Click on New Template
  5. 5. Click on Notification

    Click on Notification
  6. 6. Provide name for the notification template

    Provide name for the notification template
  7. 7. Add version label

    Add version label
  8. 8. Choose text type for Content Body

    Choose text type for Content Body
  9. 9. In Text Type you can choose text type as HTML, JSON, YAML or String for content body.

    In Text Type you can choose text type as HTML, JSON, YAML or String for content body.
  10. 10. Click on Start

    Click on Start
  11. 11. Provide content for your template body

    Provide content for your template body
  12. 12. Click on Save

    Click on Save
  13. 13. You can save your template by providing a comment

    You can save your template by providing a comment
  14. 14. Click on Save

    Click on Save
  15. 15. Click on YAML

    Click on YAML
  16. 16. You can view YAML for your notification template

    You can view YAML for your notification template
  17. 17. Click on Project Settings

    In this example, we are creating Notification rule at Project Level but you can create Notification rule across Organization and Account level as well.

    Click on Project Settings
  18. 18. Click on Notifications Management

    Click on Notifications Management
  19. 19. Click on New Notification

    Click on New Notification
  20. 20. Provide Notification name

    Provide Notification name
  21. 21. Click on Continue

    Click on Continue
  22. 22. Select Resource Type

    Select Resource Type
  23. 23. Click on Pipeline

    Click on Pipeline
  24. 24. Click on Continue

    Click on Continue
  25. 25. Click on Add Condition

    Click on Add Condition
  26. 26. Provide Condition Name

    Provide Condition Name
  27. 27. Click on Select Pipeline Events

    Click on Select Pipeline Events
  28. 28. Select Pipeline Event

    Select Pipeline Event
  29. 29. Click on Apply

    Click on Apply
  30. 30. Click on Continue

    Click on Continue
  31. 31. Click on Select Template

    Click on Select Template
  32. 32. Select Notification Template

    Select Notification Template
  33. 33. Click on Use Template

    Click on Use Template
  34. 34. Click on Continue

    Click on Continue
  35. 35. Click on Select Channels

    Click on Select Channels
  36. 36. Click on Select from the existing channels where you want to be alerted

    Click on Select from the existing channels where you want to be alerted
  37. 37. Click on Submit

    Click on Submit
  38. 38. Select your notification Template

    Select your notification Template
  39. 39. You can also view Referenced By in your Notification Template to see notification rule it is attached to.

    You can also view Referenced By in your Notification Template to see notification rule it is attached to.
  40. 40. Your notification template is referenced by notification rule

    Your notification template is referenced by notification rule