Flow editor $param variable not recognized?

Thanks for reporting an issue! Spend 60 seconds reading this…

  1. Before reporting, make sure you have the latest version of Wappler.
  2. Make sure you have searched the forum first for similar issues being reported
  3. If it is a general web related issue - do a Google Search first
  4. Issue tracker is only for bugs and feature requests, in English only.
  5. Learn how to report bugs effectively

======== TEMPLATE BUG FORM ========

Wappler Version : 3,6,1
Operating System : OSX Big Sur
Server Model: NodeJs
Database Type: MySQL
Hosting Type: Docker

Expected behavior

What do you think should happen?

Following these steps to (in my case) activate a user:

Screenshot 32 is showing the step where you can select the $Param variable in the data picker.

Actual behavior

What actually happens?

The $Param variables are not recognized.

I tried to edit the code with a hard coded value, that worked,
but making the connection to the $Param variable is not working
I tried:
{{$Param.user_id}} and similar variations

How to reproduce

  • Detail a step by step guide to reproduce the issue
  • A screenshot or short video indicating the problem
  • A copy of your code would help. Include: JS, HTML.
  • Test your steps on a clean page to see if you still have an issue

Did you try:
params: {user_id: "{{param.user_id}}"}
?

I don’t think this is a Mac or NodeJS problem. It doesn’t seem possible to select this parameter with Windows 10 / PHP either.

Hi TomD,
thanks for the suggestion,
unfortunately this also returns an undefined value :frowning:

Are you definitely typing $param and not $Param or param?

Hi Antony,
yesterday I tried all kind of variations without luck.
Today I did a final try with your suggestion (100% I used that one also yesterday)
and now it works :smile:
One might think that when trying all kind of variations a cache problem might cause it not working.
So, yes now i got it working.
Meanwhile the (small) bug not able to pick the variable in the flow manager window still persist

1 Like

I know the experience so well… I’m glad to hear you have it working now.

I do find that there are things in the flow data picker that are not very fast, intuitive or simple to use… I often find myself just memorising some of the most important syntax and then finding the lines in the code that the flow editor creates and editing those…

And that is the beauty of Wappler. I really use it as a graphical tool for moving through my design and rapidly creating new structures, and a code editor for managing the details. Like many other Wappler users, I always have the left hand window in split mode and edit much of the detail within the HTML.

Good luck with your project! :slight_smile:

Antony.

Hi Antony

As a 3D art and animation veteran I am more visually programmed myself also.

That is why I really enjoy Wappler. Since the beginning of Covid I started with C# and Xamarin forms. Although it is an interesting technology, I don’t see myself changing careers to that profession.

Wappler and this community helps me develop idea’s quickly and not only as a proof of concept but looking at the examples people have made (i.e. Ken) I know this is also a production ready toolbox.

1 Like

Fixed in Wappler 5.4.2

This topic was automatically closed after 32 hours. New replies are no longer allowed.