Error Cannot coerce value '15' into type: interface java.util.List

Hi all
I have problem with variable i need write memory tag from SQL task and i have error.
If I set my variable to textfield everything is ok but for my Tag doesent work in :frowning:
I tryed with int() and without and still same :frowning:
Please can you help me.
Here is Code what i have wrong ?
Thank you

Change line 4 to:

system.tag.writeAsync([“[default]adapter/ID”], [int(query)])

writeAsync expects a list of tags paths and a list of values, even if you’re only writing to one tag.

Thank you so much. I am beginner in the Ignitinon. Thank you :smiley:

1 Like