Attributes being deleted (when they shouldn't)

(Viljami Ketola) #1

I have a long flow that asks multiple inputs from user and saves the data to attributes.
My flow asks for name, email, phone_number and interest (choice)

After inputting everything bot shows all the saved values to the user and asks if the given information is correct.
Everything works to this point but when user answers ‘no’, he/she is prompted which information was wrong and then user can correct the information.

If user now corrects for example his/her name, somehow also interest and phone_number attributes are deleted from the user attributes.

I don’t even know how to delete attributes but I’m pretty sure they shouldn’t be deleted without bot/user doing so.

(Karen Barker) #2

Hi @Viljami_Ketola,

Without seeing your flow unfortunately this is going to be a little difficult to debug for you - if you’d like to share this with us at support@flowxo.com we’ll be able to help further. To share a flow please edit the flow, click the private button and then share the URL with us.

My initial thoughts would be that there are 2 different possibilities here.

  1. When you go back to correct answers the questions which aren’t being re-answered will have blank values and therefore be getting over-ridden when you set all the attributes together.
  2. If they aren’t being overwritten by the set process then it depends how you’re accessing the attributes. You’ll need to use a “Get All Attributes” action just before trying to use them and then use the values returned by this to get all the latest values of every attribute.

Hope this helps. :slight_smile:

(Viljami Ketola) #3

I don’t think these are the case. I’ll share the flow with support.

(Viljami Ketola) #4

This was just my stupid mistake. Not a bug.