Teilweiser Ausfallshare-external
Existing flow stopped working - Something went wrong. Try again later.
2

We have an existing flow that has worked for several months, but today running the flow gives error: 'Something went wrong. Try again later.' to the end user.

Has something changed in the last 24 hours?

The issue seems to be caused by a third "type": "If", that shows/hides a section.

Chris
Gefragt vor etwa einem Monat
Chris

More clarity. It is a second level IF, which shows hides a section. If that section contains any input element the flow will fail. If we replace the input with a static text element it will work.

10. Oktober um 15:46
Pablo

Here is the JSON with the error for this bug

{
  "version": "5.0",
  "screens": [
    {
      "id": "FIRST_SCREEN",
      "title": "Example",
      "terminal": true,
      "data": {
        "theDate": {
          "type": "string",
          "__example__": "2024-08-01"
        }
      },
      "layout": {
        "type": "SingleColumnLayout",
        "children": [
          {
            "type": "RadioButtonsGroup",
            "label": "Options",
            "required": true,
            "visible": true,
            "name": "optionsRadioGroup",
            "data-source": [
              {
                "id": "opt1",
                "title": "Option 1"
              },
              {
                "id": "opt2",
                "title": "Option2"
              }
            ],
            "init-value": "opt1"
          },
          {
            "type": "If",
            "condition": "${form.optionsRadioGroup} == 'opt1'",
            "then": [
              {
                "type": "RadioButtonsGroup",
                "name": "optionsRadioGroup2",
                "label": "Sub Options",
                "visible": true,
                "required": true,
                "init-value": "opt1",
                "data-source": [
                  {
                    "id": "opt1",
                    "title": "Option 1"
                  },
                  {
                    "id": "opt2",
                    "title": "Option2"
                  }
                ]
              },
              {
                "type": "If",
                "condition": "${form.optionsRadioGroup2} == 'opt2'",
                "then": [
                  {
                    "type": "TextInput",
                    "required": true,
                    "label": "Amount",
                    "input-type": "number",
                    "name": "amount",
                    "init-value": "10"
                  },
                  {
                    "type": "DatePicker",
                    "name": "theDate",
                    "required": true,
                    "label": "Date",
                    "min-date": "${data.theDate}",
                    "init-value": "${data.theDate}"
                  }
                ]
              }
            ]
          },
          {
            "type": "Footer",
            "label": "Submit",
            "on-click-action": {
              "name": "complete",
              "payload": {
              }
            }
          }
        ]
      }
    }
  ]
}
10. Oktober um 17:51
Ausgewählte Antwort
1

Hi Chris and Pablo, we landed a fix. It should be working right now. Let me know if it works as expected.

11. Oktober um 12:41
Flávio