Markdown Messages
If you don't want to use the existing task template you can also design a simple text message that supports slack markdown. If you do this, you'll need to call a different function, so the example code looks like this:
Example Markdown
var slackTarget = "choranburg@commvault.com"
var slackMessage = "This is a simple slack message with some *bold* formatting. Here is a link to <https://www.google.com|google>"
var response = new x_mmvau_slackstr_0.SlackStream().sendSimpleMarkdownMessage(slackTarget, slackMessage)