...
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 |
---|---|
test | test |
sObject.Name | ‘the name of this field in your org’ |
‘sObject.Name ’ | sObject.Name |
‘Hey, ‘+sObject.Name ’ | Hey, ‘the name of this field in your org’ |
Hey, +sObject.Name | Hey, +sObject.Name |
‘good’ | good |
sObject.colour_c | ‘the name of this field in your org’ |
sObject.CA10_severity_c== “High”? ‘danger’ : ‘good’ | 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 BaseBase are expression fields. The data type of the value returned depends on the elements used in the expression. Here are sample outputs:
Expression | Output |
---|---|
test | test |
sObject.Name | ‘the name of this field in your org’ |
‘sObject.Name ’ | sObject.Name |
‘Hey, ‘+sObject.Name ’ | Hey, ‘the name of this field in your org’ |
Hey, +sObject.Name | Hey, +sObject.Name |
‘good’ | good |
sObject.colour_c | ‘the name of this field in your org’ |
sObject.CA10_severity_c == “High”? ‘danger’ : ‘good’ | danger/good |
...
Configuring Cloudaware Workflow To Invoke Slack Action
In 1. In your Cloudaware account click Setup in the main menu
2. In the Quick Find box start typing workflows to select Workflows & Approvals → Workflow Rules → New RuleSelect CloudAware Upgradable Package as the
3. Select the object for the rule to be applied to (in our use case CloudAware Upgradable Package) and click Next
4. Add Rule Name (1), set Evaluation Criteria(2) and Rule Criteria(3)*. Add Filter Logic if necessary. Click Save & Next
*In our use case we are creating a workflow rule will send out alerts when the field 'Upgrade' (checkbox) is true on CloudAware Upgradable Package object.
5. Add Workflow Action → New Outbound Message. Paste the copied Endpoint URL. Click Save
6. Review the workflow. Click Done to activate it
7. Once this workflow rule is triggered, the following Slack notification may be sent: