Local storage not working on conditionals

Hi,

I am trying to do some validation on “create a new thing”.

It seems to be failing. When I check it in debug mode, There seems to be no error message.

The same condition is working fine on a popup.

This is working.

image.png

This is not working.

image.png

Can you please help me with this? @renatoasse

Also, please let me know if there are other ways to store data on a browser and then retrieve it later point of time.

Your screenshots didn’t come through. Can you reupload?

@paul29

This is snapshot of the same condition I have used to display some popup.

This is snapshot of the condition I have used while creating a thing.

When i remove the condition for create a thing, it is working correctly

What does the debugger say? Can you send a screenshot of that step in the debugger?

@paul29

This is conditional for popup, you can see that I am getting the value from local storage and it is evaluate to ‘Yes’ correctly.

This is snapshot for ‘create a thing’, Here as well, the condition is evaluated to ‘Yes’ but nothing is created.

Do you have any privacy rules set?

Nevermind, you said that when you remove the condition it works properly. Have you tried removing elements from your workflow one by one to see if any of them are causing an issue?

Specifically that last one. I can’t fully see what it says but that could be doing something.

The only condition I have is to check if the value from local storage is equal to ‘Yes’.
The last thing on the workflow is clearing the local storage.

Did you try removing that last action just as a test and keeping the conditional? Bubble sometimes is finicky with the asynchronicity of things and it’s possible it’s getting cleared before the action before is complete so it never completes it

Yes, I have tried that as well. No luck

This is what it shows in the log.

Did you remove all other actions from the workflow?

It shows the condition passes when you run it in step by step but not in your logs which will be in full speed. So something is going on asynchronously

Yes, It doesn’t work even with just the ‘create a thing’ action

Hey @tech16,

If you’re having any trouble using one of our plugins, we can try to help. But in order for us to help, you must:

  1. Create a test page simulating the problems that are occurring. Remove from this page all elements and workflows that are not related to the error.

  2. Set the application rights to “Everyone can view” Settings - General - Application Rights - Everyone can view)

  3. Send us the editor’s link and tell us step-by-step how to reproduce the problem you are experiencing.

Please send it to hello@essentialkit.io .

This topic was automatically closed after 70 days. New replies are no longer allowed.