We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Oct 25, 2022 5:25 AM - edited Oct 25, 2022 6:10 AM
Hi,
I have a Multiselect-property that has numbers as internal values:
Public Value | Internal Value |
Prop A | 1 |
Prop B | 2 |
Prop C | 3 |
Now when I have multiple Values selected, then it is not a problem at all, but if there is only a single value selected, then using Workflows calling a webhook with POST and selecting specific properties instead of sending a complete Deal causes the property to be sent as a number although I expected the value to be a string containing the number.
//With multiple values
{
"propertyName" : "1; 2"
}
//With single value
//Expected
{
"propertyName" : "1"
}
//Got
{
"propertyName" : 1
}
//Also happens when strings contain spaces after a number
//Expected
{
"propertyName" : "1 Hello HubSpot"
}
//Got
{
"propertyName" : 1
}
This also happens if a textfield which has a space after a number.
Oct 25, 2022 8:00 PM
Hi, @Journaway_OK 👋 Thanks for reaching out! One question before I go all the way down the rabbit hole — have you already contacted support about this issue? I would rather not put you in a frustration-loop if at all possible.
If not, this one is a good candidate. I can assist in this case if needed. Just send me a DM. Otherwise, we can work on it here.
I am curious, @Teun @LMeert @miljkovicmisa, do you have any thoughts or initial troubleshooting steps @Journaway_OK can try?
Thank you for taking a look! — Jaycee
Oct 26, 2022 3:56 AM
Hello @Jaycee_Lewis ,
Thanks for the hint!
For some reason, I completely forgot about that. I just contacted them.