Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: cgonzalez76 on December 17, 2015, 09:22:38 AM

Title: Reschedule record with SCXML
Post by: cgonzalez76 on December 17, 2015, 09:22:38 AM
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.
Title: Re: Reschedule record with SCXML
Post by: Kubig 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
Title: Re: Reschedule record with SCXML
Post by: cgonzalez76 on December 17, 2015, 11:22:08 AM
Thanks a lot.

Carlos
Title: Re: Reschedule record with SCXML
Post by: daniel_san 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.
Title: Re: Reschedule record with SCXML
Post by: abudwill 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
Title: Re: Reschedule record with SCXML
Post by: daniel_san 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.