Versions Compared

Key

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

...

Info

Slack is a cloud-based communication platform that enables real-time messaging, archiving, and search for modern teams.

Table of Contents
stylenone

Getting Started

Cloudaware supports two types of Slack integration:

...

Object Name, Message, Color, Url Base are expression fields. The data type of the value returned depends on the elements used in the expression. Here are sample outputs:

Expression

Output

Code Block
test
Code Block
test
Code Block
sObject.Name
Code Block
‘the name of this field in your org’
Code Block
‘sObject.Name ’
Code Block
sObject.Name
Code Block
‘Hey, ‘+sObject.Name ’ 
Code Block
Hey, ‘the name of this field in your org’
Code Block
Hey, +sObject.Name
Code Block
Hey, +sObject.Name
Code Block
‘good’
Code Block
good
Code Block
sObject.colour_c
Code Block
‘the name of this field in your org’
Code Block
sObject.CA10_severity_c== “High”? ‘danger’ : ‘good’ 
Code Block
danger/good

3. Copy and save the URL as it is required for further configuration in Cloudaware (see Configuring CloudAware Workflow To Invoke Slack Action).

...

Object Name, Message, Color, Url Base are expression fields. The data type of the value returned depends on the elements used in the expression. Here are sample outputs:

Expression

Output

Code Block
test
Code Block
test
Code Block
sObject.Name
Code Block
‘the name of this field in your org’
Code Block
‘sObject.Name ’
Code Block
sObject.Name
Code Block
‘Hey, ‘+sObject.Name ’ 
Code Block
Hey, ‘the name of this field in your org’
Code Block
Hey, +sObject.Name
Code Block
Hey, +sObject.Name
Code Block
‘good’
Code Block
good
Code Block
sObject.colour_c
Code Block
‘the name of this field in your org’
Code Block
sObject.CA10_severity_c == “High”? ‘danger’ : ‘good’ 
Code Block
danger/good

You can apply standard Slack formatting in the field Message. In our use case we apply bold message format by adding * before the text of the message.

...