IDEMSInternational / rapidpro-flow-toolkit

Toolkit for using spreadsheets to create and modify RapidPro flows
GNU Lesser General Public License v2.1
3 stars 1 forks source link

no check for unrecognised router test cases? #70

Closed fagiothree closed 1 year ago

fagiothree commented 1 year ago

It looks like there is no error if a router test case is not in the list of supported ones. By mistake I typed condition_name in the condition_type column and the code produced the following output:

"router": { "type": "switch", "operand": "@child.results.proceed", "cases": [ { "uuid": "c134dc0a-4853-4e2b-b496-7ffa8139174e", "type": "proceed", "category_uuid": "2f378c01-7f2b-4783-a8aa-2c113eec9421", "arguments": [ "yes" ] } ],