Forum Discussion
Glad you got the data getting returned. It took me awhile to puzzle that piece out my first time. :) When you say store these pieces of data in an array, what do you mean and what is the intent? I may need some examples of what you are trying to do and some sample requests / responses / etc to figure this next part out. :)
I just realised to use Data sink option. I'm able to get the data source output values. But they are not getting appended to the array. Can someone help to append the data sink values to an array. [so it does not overwrite the existing values]
I have created a data sink with Groovy where my groovy script goes like this.
def WS_AttributeNameList = []
SinkValue=context.expand('${DataSink_AttributeName#WS_AttributeName}')
WS_AttributeNameList.add(SinkValue)
log.info (WS_AttributeNameList)
Every time, it overwrites the value in the current iteration. It doesn't seem to append the data. Can someone please help to resolve this.
Thanks!
Related Content
- 5 years agounderqualified
- 3 years agogoogleid_114550
Recent Discussions
- 30 minutes agoisbiat
- 42 minutes agodipsthorat
- 24 hours agoarmygrad