"Post Card in a Chat or Channel" Workflows template issue

Kajandere, Jelena 10 Reputation points
2024-07-17T10:04:56.01+00:00

Hello Microsoft Support Team,

I am encountering a potential bug in the "Post Card in a Chat or Channel" template. When using a boolean variable resulting from a function or variable in an Adaptive Card, the output is showing as False (with a capital 'F') instead of false (with a lowercase 'f').

Here’s an example of my implementation:

adaptive card code snippet 
{

variable initialization code
{
  "type": "InitializeVariable",
  "inputs": {
    "variables": [
      {
        "name": "testboolean",
        "type": "boolean",
        "value": true
      }
    ]
  },
  "runAfter": {
    "Initialize_variable_2": [
      "Succeeded"
    ]
  },
  "metadata": {
    "operationMetadataId": "3a3b9154-cf62-4ff7-a96d-c743d0e84c8c"
  }
}

This behavior is causing issues with the visibility logic in my Adaptive Card. Could you please provide guidance on this matter? Is there a specific way to ensure the boolean value is formatted correctly?

Thank you for your assistance!

Best regards, Jelena

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,618 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,062 questions
{count} votes