I am trying to use aggregateCallback. It is able to pick data for state but shows zero for Total (screenshot attached)
I have used script (changing only the collection name) and collection columns as given in https://docs.runmyprocess.com/Developer_Guide/Collection/Collection_JS_Freemarker#aggregation_1
var my_object = {};
my_object.first_name=id_first_name.getText();
my_object.last_name=id_last_name.getText();
my_object.state=id_state.getText();
my_object.nb_of_cars=id_no__of_cars.getText();
my_object.nb_of_motors=id_no__of_motors.getText();
col_my_collection.saveCallback(my_object, add_ok, add_ko);
Am I missing something? Request help
Thanks in advance
Regards
Vinod
Vinod
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" 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 https://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/60905545-8714-417d-a7eb-be9e3534537a%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.
Thanks a lot for the quick solution. I was using getText directly just as you suspected
Regards
Vinod