Good morning,
I am trying to use a variable ({STORE}) with an integer value in 'SQL Query to CSV File' action.
But it always shows an error:
It seems that variables are not working in 'SQL Query to CSV File' action.
The same setup works fine in 'Dataset Loop' action.
Can you please investigate?
Use variable in 'SQL Query to CSV File'
Re: Use variable in 'SQL Query to CSV File'
Thank you for the report. It seems this is a bug. We'll fix it
Now you can include RoboTask variables directly in SQL expression
For example:
Now you can include RoboTask variables directly in SQL expression
For example:
Code: Select all
select * from addr where locked = {num}Oleg Yershov
-
LucasGaines
- Posts: 1
- Joined: Thu Apr 03, 2025 4:39 am
Re: Use variable in 'SQL Query to CSV File'
Has the admin fixed the core yet. My screen still shows the error.
LucasGaines
space waves
space waves
Re: Use variable in 'SQL Query to CSV File'
This problem has been fixed in version 10.3 (current version)LucasGaines wrote: ↑Thu Apr 03, 2025 4:40 am Has the admin fixed the core yet. My screen still shows the error.
Oleg Yershov
-
David Brown1331
- Posts: 1
- Joined: Sat Jul 25, 2026 9:16 am
Re: Use variable in 'SQL Query to CSV File'
I’m trying to stick a variable ({STORE}) that has just a number into the SQL Query to CSV File action, but it keeps throwing an error no matter what I do. Weird thing is the exact same variable works fine when I use it in Dataset Loop. Not sure if variables just don’t work in that SQL-to-CSV step or if I’m doing something wrong.
Re: Use variable in 'SQL Query to CSV File'
Send your task to me in private message or publish the text of your task here.
It's hard to say anything without your task
It's hard to say anything without your task
Oleg Yershov