Hello! The syntax for the storeValue() method is incorrect; it has at least 2 parameters. Can you elaborate on what you are trying to achieve with it? Please check our documentation on how to use storeValue().
Also, where are you running this JS function?
Hi Amelia , I fixed the syntax adding the second parameter. I am not sure what is that you are asking on where I am running the JS function ? . It is a new create Js Object . This will be part of a chain of querys in which in this step , the app should read the text in the input widget called flash and if it meets the criteria of being above 145 should run the first query and save the dataset as a storevalue .
Ok. Now to make this JS function run as expected, please use async/await. You will need to await the query run and the storeValue() method, because they are async functions.