" /> Reschedule record with SCXML - Genesys CTI User Forum

Author Topic: Reschedule record with SCXML  (Read 3372 times)

Offline cgonzalez76

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Reschedule record with SCXML
« on: December 17, 2015, 09:22:38 AM »
Advertisement
Hi!

I want reschedule a record using SCXML but I can't do it. I was searching on web but I cannot see how I can do this.

I just find the way of wait a time and call again with this code:

  <state id="Reschedule">
    <onentry>
<ocs:timeout delay="addDelay ( _data.LastCallResult )" />
</onentry>
    <transition event="ocs.timeout" target="makeCall"/>

  </state>

but I don't want it. I want reschedule a record.

Can anyone help me with this problem?

Thanks and sorry for my poor english.
Carlos.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Reschedule record with SCXML
« Reply #1 on: December 17, 2015, 09:26:51 AM »
Use OCS HTTP API to achieve that. You can find some samples "how to communicate with API" on Genesys sites

Offline cgonzalez76

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: Reschedule record with SCXML
« Reply #2 on: December 17, 2015, 11:22:08 AM »
Thanks a lot.

Carlos

Offline daniel_san

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 1
Re: Reschedule record with SCXML
« Reply #3 on: November 08, 2016, 03:46:52 PM »
Hello Kubig,

Can you provide some more information about OCS HTTP API?

There is another way to reschedule a record on SCXML without using "<ocs:timeout delay="_data.delay"/>"

Regards.

Offline abudwill

  • Full Member
  • ***
  • Posts: 157
  • Karma: 4
Re: Reschedule record with SCXML
« Reply #4 on: November 10, 2016, 11:26:02 AM »
The OCS HTTP API is very well documented in the OCS deployment guide, I would suggest looking there for information on how to set it up and utilize it.

Also, one of the SCXML samples that is bundled with OCS I believe demonstrates how to perform an HTTP Post from SCXML.

It has been a while since I have looked at the OCS API, but you may be able to refer to the SCXML samples to learn how to HTTP Post from SCXML to the OCS HTTP API.

Regards,
Andrew

Offline daniel_san

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 1
Re: Reschedule record with SCXML
« Reply #5 on: November 10, 2016, 03:28:25 PM »
[quote author=abudwill link=topic=9273.msg45150#msg45150 date=1478777162]
The OCS HTTP API is very well documented in the OCS deployment guide, I would suggest looking there for information on how to set it up and utilize it.

Also, one of the SCXML samples that is bundled with OCS I believe demonstrates how to perform an HTTP Post from SCXML.

It has been a while since I have looked at the OCS API, but you may be able to refer to the SCXML samples to learn how to HTTP Post from SCXML to the OCS HTTP API.

Regards,
Andrew
[/quote]

Ok, i will take a look. Tnx.