" /> callback (reschedule) problem - Genesys CTI User Forum

Author Topic: callback (reschedule) problem  (Read 2983 times)

Offline pierre

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
callback (reschedule) problem
« on: March 12, 2010, 03:28:01 PM »
Advertisement
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.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: callback (reschedule) problem
« Reply #1 on: March 12, 2010, 03:35:44 PM »
Try adding the GSW_TREATMENT KVP

Offline pierre

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: callback (reschedule) problem
« Reply #2 on: March 18, 2010, 10:49:19 AM »
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" ------
« Last Edit: April 02, 2010, 01:51:54 PM by pierre »

Offline pierre

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: callback (reschedule) problem
« Reply #3 on: April 02, 2010, 01:55:19 PM »
hi,

Whithout GSW_TREATMENT KVP, outboundchain is proccessed correctly ! (status is READY )

Offline aakarach

  • Newbie
  • *
  • Posts: 27
  • Karma: 0
Re: callback (reschedule) problem
« Reply #4 on: April 21, 2010, 05:17:29 PM »
set the option record_proccessed option in OCS application to be True