Flow Designer body object with keys containing dashes not supported?

lbigras
Tera Contributor

I have a flow in flow designer that receives a body containing keys like "name": { "en-CA": "My Name", "fr-CA" "Mon Nom" }. When I try to create the body mapping in designer for the label it accepts it but it renames the name of that field to "en_CA" and "fr_CA" . This causes the flow to not see the passed data.

 

Is there a way to configure it so it works with keys containing a dash?

 

6 REPLIES 6

I can't share the script snapshot since the project is private.

lbigras
Tera Contributor

Here is a screenshot of the situation:

lbigras_0-1738247141627.png

Here is a screenshot. It forces the name to be fr_CA and en_CA and it show's up like that after running tests as what is expected in the body. This is causing it to not see the real field that is en-CA in my payload.