Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hello,
I am trying to utilize the teams reporter in the dataiku scenarios. When using the template found here it works fine. However, "MessageCards" are now legacy code for Microsoft and they recommend using Adaptive Cards. I also need to use Adaptive Cards because they support user tagging.
The problem arises when using a simple Adaptive Card JSON payload
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.2",
"body": [
{
"type": "TextBlock",
"text": "${if(outcome == 'SUCCESS', '✅ ', '')}${if(outcome == 'FAILED', '❌', '')}${if(warningStepsCount > 0, '⚠', '')} [${scenarioName}](${scenarioRunURL}): **${outcome}** - <at>Marinos Rrapaj</at>"
},
{
"type": "FactSet",
"facts": [
{
"title": "Project",
"value": "${scenarioProjectKey}"
},
{
"title": "Triggered by",
"value": "${triggerName}"
}
]
}
]
}
When the scenario processes this I get
Can someone share some insight on how to use Adaptive Cards through this process? Thank you!
More information about Adaptive Cards can be found here.
UPDATE: I ended up figuring it out using this link
UPDATE: I ended up figuring it out using this link
Sometimes it take another community to support this community! Thank you for sharing your solution @marinos_r!