Replies: 1 comment
-
okay found it by myself in the Automa docs this is the way: {{loopData@tagsLoop.tags.[variables@tags_counter]}} I should have searched a bit more before making the post. Anyway hope it helps anyone. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there, I am trying to retrieve each value from an array table, by incrementing it's [id]
here is my loopData :
tagsLoop = my loopID
tags = table array containing each one a character.
{{loopData@tagsLoop.tags}}
And I have a variable named 'tags_counter' which value is : 0
I know I can retrieve first array element doing :
{{loopData@tagsLoop.tags.0}} , I tested it works.
so, I should be able to retrieve this '0' value from a variable instead, at least I want to do it
I had in mind to increment this 'tags_counter' at each pass of the loop
I tried to write
!!{{loopData@tagsLoop.tags.variables@tags_counter}}
{{loopData@tagsLoop.tags.variables@tags_counter}}
I'm sure there is a way to mix them
But not sure how to write it
I guess it could be done with a JS block at last, but I'm trying to avoid it for now
Thanks in advance 🧠
Beta Was this translation helpful? Give feedback.
All reactions