Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: pierre on March 12, 2010, 03:28:01 PM
-
Hi,
First, sorry for my crappy English.
I read other topic about campaign callback.
I tried to reschedule an outboundrecord but when i did it i saw in OCM that the record_status=UPDATED (so it will be never callbacked) and not READY.
Below, my JAVA operations in order :
[code]oRecord.setPhone(tel);
....
oRecord.update();
..
oRecord.reschedule(myDate,myCallBackTypeCampaign); // campaign callback
..
oRecord.setCallResult(myCallResult);
...
myOutboundChain.setTreatment(OutboundChain.TreatmentType.CAMPAIGN);
...
myOutboundChain.markProcessed();
..
myOutboundChain.close()[/code]
What's wrong in this chained operations ?
May i do markProcessed ?
Does reschedule operation must be the last one ?
Can i chain reschedule and markProcessed operation ?
Thanks for your help.
-
Try adding the GSW_TREATMENT KVP
-
That what i do when i write :
[code]myOutboundChain.setTreatment(OutboundChain.TreatmentType.CAMPAIGN);[/code]
No ?
I update my record in 2 steps:
step 1 -
[code]oRecord.setPhone(tel);
oRecord.update();
oRecord.reschedule(myDate,myCallBackTypeCampaign);
[/code]
----- Here, when i look in OCM i see a correct record with record status retrieved ------
Step 2 - then i do,
[code]
oRecord.setCallResult(myCallResult);
myOutboundChain.setTreatment(OutboundChain.TreatmentType.CAMPAIGN);
myOutboundChain.markProcessed();
myOutboundChain.close()[/code]
----- Here, record status is "updated" ------
-
hi,
Whithout GSW_TREATMENT KVP, outboundchain is proccessed correctly ! (status is READY )
-
set the option record_proccessed option in OCS application to be True