You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$flow.state is undefined in Flowise v 3.0.0, when I tried to use state as a counter , it doesn't work when I tried to try something like :
{{$flow.state.loop_counter}}+1 in the UI but it act as string "0"+1==> 01
when I tried to do the same in a Custom Function:
const state= $flow.state ;
console.log('state:',state); ===> state is undefined.
I feel it's memory issue, although memory is enabled and states are defined in the start node.
if I use UI and assign it fixed value works fine other but to increment it doesn't.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
$flow.state is undefined in Flowise v 3.0.0, when I tried to use state as a counter , it doesn't work when I tried to try something like :
{{$flow.state.loop_counter}}+1 in the UI but it act as string "0"+1==> 01
const state= $flow.state ;
console.log('state:',state); ===> state is undefined.
I feel it's memory issue, although memory is enabled and states are defined in the start node.
if I use UI and assign it fixed value works fine other but to increment it doesn't.
Any idea?
Beta Was this translation helpful? Give feedback.
All reactions