AnsweredAssumed Answered

Old status at spel code

Question asked by melis.yazici on Jun 28, 2017
Latest reply on Jun 29, 2017 by melis.yazici

Hi,

 

I want to see old status at database for created zVFTR_OldStatus srel crs at cr table.I use POST_VALIDATE zVFTR_ADCLflag() 143 FILTER(EVENT("UPDATE")); spel.The cose is below.

 

string param;
param=persistent_id;

send_wait(0, top_object(), "call_attr", "cr", "val_by_key", "persistent_id", param, (int) 1, "status");
string ex_status;
ex_status = msg[1];

zVFTR_OldStatus=ex_status;

logf(ERROR, "status: '%s' zVFTR_OldStatus: '%s' ex_status: '%s' ref_num: '%s'",status, zVFTR_OldStatus,ex_status,ref_num);

 

And see logf at std.log. When execute select zVFTR_OldStatus,status,* from call_req where ref_num='42607130' this attr. is null.

 

 

What is the cause of the problem?

 

Regards,

Burcu

Outcomes