pierre
March 12, 2010, 3:28pm
1
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 :
oRecord.setPhone(tel);
....
oRecord.update();
..
oRecord.reschedule(myDate,myCallBackTypeCampaign); // campaign callback
..
oRecord.setCallResult(myCallResult);
...
myOutboundChain.setTreatment(OutboundChain.TreatmentType.CAMPAIGN);
...
myOutboundChain.markProcessed();
..
myOutboundChain.close()
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
2 Likes
pierre
March 18, 2010, 10:49am
3
That what i do when i write :
myOutboundChain.setTreatment(OutboundChain.TreatmentType.CAMPAIGN);
No ?
I update my record in 2 steps:
step 1 -
oRecord.setPhone(tel);
oRecord.update();
oRecord.reschedule(myDate,myCallBackTypeCampaign);
----- Here, when i look in OCM i see a correct record with record status retrieved ------
Step 2 - then i do,
oRecord.setCallResult(myCallResult);
myOutboundChain.setTreatment(OutboundChain.TreatmentType.CAMPAIGN);
myOutboundChain.markProcessed();
myOutboundChain.close()
----- Here, record status is “updated” ------
pierre
April 2, 2010, 1:55pm
4
hi,
Whithout GSW_TREATMENT KVP, outboundchain is proccessed correctly ! (status is READY )
set the option record_proccessed option in OCS application to be True
1 Like