I am assuming you are trying to access the list with data type “anything”.
To access the list in the Bubble plugin editor -
var length_data = properties.anything_data.length(); //lenght of input list
var list_data = properties.anything_data.get(0, length_data); //input data list
Hi @jared.gibb,
So when the data is not populated yet the function will exit and the rest of the code will not be executed?
If this is the case then this is the problem I am trying to solve, the problem is that the data exist in the database but “sometimes” the plugin not get it and the code not executed or executed with null values.
That’s exactly right. What will happen is that one of the data is populated the code block will try to run again and it will be able to because the data has finally arrived from the db and been touted to the plugin inputs. Every timeany of your plugin dynamic inputs are modified in any way, the entire update function runs again. .
As I understand it, making the code exit early or letting it execute completely does not change the fact that the function is executed again when the data is populated and the fact that the data will certainly be displayed at the end. If my understanding is correct, I got the answer I needed here.