Hi Shobit,
Can you confirm where to use the following lines as sabina said, i am a bit confused....
Here's the url to use to access the data
https://live.runmyprocess.com/live/${customer_id}/object/${collection_name}/?P_mode=TEST&P_nb=1000
You can stock the data into a variable, open an interface that has the collection plugged in in a LIVE mode. Add to the url of the interface &P_attributes=tester so you'll have a link that looks as follow:
https://live.runmyprocess.com/live/${customer_id}/appli/${appli_id}?P_mode=LIVE&P_attributes=tester
The P_attributes=tester allows you to have the test console like in test mode, the difference is that all of the executed javascript codes will be applied on LIVE.
Then you can use a code similar to follow:
var col= your_data_array_from_the_collection;
for(var i = 0 ; i< col.length;i++){
var my_object = col[i];
col_your_collection.saveCallback(my_object,add_ok,add_ko);
}
function add_ok(result) {
}
function add_ko(result) {
alert("ko " + JSON.stringify(result));
}
This same thing also works for accepatance because here it is in test mode....
So please help