AnsweredAssumed Answered

set cr values from alg spell

Question asked by Bassoalto on Sep 19, 2016
Latest reply on Sep 22, 2016 by Gutis

Hello community, i need help to update some values on children from the parent. Im using this spell (Propagate Status to Children - SDU). But aditionally need to set the same value of group and resolution code on all children, everytime i propagate the status from the parent.

 

At the alg::zstat_to_child(...) function i set 2 additional variables:

 

uuid v_group;

int v_res_code;

 

And i assign the following vaues from the parent:

v_group = call_req_id.group;

v_res_code = call_req_id.resolution_code;

 

But i dont know how i can set those values to a children, i try with:

---------------------------------------------------------------------------------------------------------------------

c_desc = c_desc + " (Propagado desde el Padre " + p_type + " " + p_num + ")" ;
send_wait(0, top_object(), "get_co_group");
group_leader = msg[0];
send_wait(0, c_dob, "change_status", group_leader, login_userid, c_desc, p_stat, NULL);

 

cr.group = v_group;

cr.resolution_code = v_res_code;


send_wait(0, group_leader, 'checkin');

---------------------------------------------------------------------------------------------------------------------

But, doesn't work.

 

Please your help.

 

Best regards,

 

Fabian

 

Outcomes