Transfering values from acceptance mode to live mode

319 views
Skip to first unread message

banerjee...@gmail.com

unread,
Dec 24, 2014, 12:39:13 AM12/24/14
to suppor...@runmyprocess.com
Hi ,

I have created back office collections for my application. I have entered certain values in to these collections but this values are in acceptance mode, what i want, is to transfer these values from acceptance mode to live mode .

So could you tell me how to do so???

Please help....

Thanks and Regards
Somjit Banerjee

Shobhit Tripathi

unread,
Dec 24, 2014, 3:40:10 AM12/24/14
to suppor...@runmyprocess.com
Hi Somjit,

You can refer below post(link) for transferring collection data.


Feel free to ask for further queries.

Thanks & Regards,
Shobhit
Fujitsu - RunMyProcess

Somjit Banerjee

--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/bd171b6c-2cfb-4e2b-af81-50d54d11779b%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.



--
Thanks & Regards,
Shobhit
Fujitsu- RunMyProcess

banerjee...@gmail.com

unread,
Dec 24, 2014, 4:16:29 AM12/24/14
to suppor...@runmyprocess.com
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

Pankaj Kumar

unread,
Dec 24, 2014, 6:21:39 AM12/24/14
to suppor...@runmyprocess.com, Somjit Banerjee
Hi Somjit,

In Acceptance mode, launch a web interface, make sure the collection is configure in the web interface.
and use the P_attributes=tester at the end of the url.

Please try the following code in the "run js" pane of the Web Interface.

    //alert("Data: " + data + "\nStatus: " + status);

for(var i = 0 ; i< data.length;i++){
var my_object = data[i];
collectionNameHere.saveCallback(my_object,add_ok,add_ko); 
}
  });

Let me know if you face any issue.

Thanks,
Pankaj

--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.

Shobhit Tripathi

unread,
Dec 24, 2014, 7:06:39 AM12/24/14
to suppor...@runmyprocess.com
Hi Somjit,

Adding to Pankaj's post

This is the url, where you can see the collection data(records).
->  P_mode=TEST (visibility will be changed as per your requirement) like: ACCEPTANCE / LIVE

In your case you needed to copy all your data from Acceptance to LIVE mode.
To do so you can follow the above post. (remember while using JS to copy records of your collection you have use P_mode=ACCEPTANCE in JS console).

Note: Your project version is in Live mode and you have to launch WI in Live mode as well.

Thanks & Regards,
Shobhit


Reply all
Reply to author
Forward
0 new messages