06-03-2010, 04:55 PM
Hi,
My need is as follows,
1. I have to declare an Array in an action (let say Action1) and put some data retrieved from an application in the array
2. I need the data stored in the array in another action (Action2)
Few things came into my mind but it was not done.They are as following,
1.Use of Environment Variable: But an Array cann't be added as an E.V
2.Use of Action Parameter: But an Array cann't be passed as an A.P
I then created a string using all the values of the array in Action1 and added the string as an Environment Variable and retrieve the string in Action2 and split it. In this way I got all the values from Action1 in Action2. But here the problem is when the array contains a large number of data the string is subsequently large enough to perform Split operation. It is not at all easier and convinient.
Anyone with any better idea? Please help me out.
My need is as follows,
1. I have to declare an Array in an action (let say Action1) and put some data retrieved from an application in the array
2. I need the data stored in the array in another action (Action2)
Few things came into my mind but it was not done.They are as following,
1.Use of Environment Variable: But an Array cann't be added as an E.V
2.Use of Action Parameter: But an Array cann't be passed as an A.P
I then created a string using all the values of the array in Action1 and added the string as an Environment Variable and retrieve the string in Action2 and split it. In this way I got all the values from Action1 in Action2. But here the problem is when the array contains a large number of data the string is subsequently large enough to perform Split operation. It is not at all easier and convinient.
Anyone with any better idea? Please help me out.