Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
i'm trying to call a POST request.
I'm putting the field in the query parameters of the module and it works with a string. How can I insert in that string the variable of the previous components? I need to put the variable ((String)globalMap.get("row5.id")) instead of 2022_04_11.pdf
I've already tried to break the string by inserting "+((String)globalMap.get("row5.nomeprogetto"))+" but it didn't work.
Hi, could you post screenshot of your job ? I'd like to know where row5 come from.
Hi
Add a global variable in a string like this:
"bababa"+((String)globalMap.get("row5.nomeprogetto"))+"bababa"
For debugging, build the element value on a tJavaRow before it is used and make sure the value is correct, eg:
...row5--tJavaRow--tFlowToIterate--tRestClient
on tJavaRow:
context.element= "bababa"+((String)globalMap.get("row5.nomeprogetto"))+"bababa" ;
System.out.println(context.element)
on tRestClient, use context.element as element value.
Regards
Shong
I solved by constructing the entire string inside a tMap component.