help a noob :)
-
how do I separate these recursive values to create links with each parse value
<--- Executing Block KEY CHECK ---> Found 'AND' Key <!DOCTYPE html PUBLI [...] Contains <span>Valor: <--- Executing Block idOrder ---> Parsed variable | Name: idOrder | Value: [74773109, 70743727, 70724975] <--- Executing Block historico-de-pedidos/detalhes ---> Calling URL: https://xxxxxxxxxxxxxxx/historico-de-pedidos/detalhes/[74773109, 70743727, 70724975]
I would like to separate the parse values like that! someone give me a light on how to do it! please
https://xxxxxxxxxxxxxxx/historico-de-pedidos/detalhes/74773109
https://xxxxxxxxxxxxxxx/historico-de-pedidos/detalhes/70743727
https://xxxxxxxxxxxxxxx/historico-de-pedidos/detalhes/70724975
-
Hey @babirro
First parse all your values you must be able to re-use 74773109,70743727,70724975 each number to its variable for the first for example A the second B and the last C.Parse into your recursive
So <A> (74773109) for the first parse
<B> (70743727) for the second parse
<C>(70724975)for the last parse
after you have parse your values
parse <ADDRESS> aftert that call your values
https://xxxxxxxxxxxxxxx/historico-de-pedidos/detalhes/<A>
https://xxxxxxxxxxxxxxx/historico-de-pedidos/detalhes/<B>
https://xxxxxxxxxxxxxxx/historico-de-pedidos/detalhes/<C>
Like that try and tell me if if you have a problem
-
@babirro
you can access elements of your list with <idOrder[index]>
like:https://xxxxxxxxxxxxxxx/historico-de-pedidos/detalhes/<idOrder[0]> https://xxxxxxxxxxxxxxx/historico-de-pedidos/detalhes/<idOrder[1]> https://xxxxxxxxxxxxxxx/historico-de-pedidos/detalhes/<idOrder[2]>
if you don't know upfront how many values you will have in your list, you could use stuff like
UTILITY List "idOrder" Length -> VAR "LEN" SET VAR "INDEX" "0" WHILE "<INDEX>" LessThan "<LEN>" ##here your request and so on with using https://xxxxxxxxxxxxxxx/historico-de-pedidos/detalhes/<idOrder[<INDEX>]> FUNCTION Compute "<INDEX>+1" -> VAR "INDEX" ENDWHILE
-