Author Topic: Custom ors-service hosted on gms  (Read 1543 times)

Offline gen_rtfm

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 1
Custom ors-service hosted on gms
« on: November 24, 2020, 08:02:18 PM »
Hi!

I was wondering if anybody has made a custom ors-service for gms?

Looking at the callback-services they are all executed (mostly) on ors... Figured it might be a nice thing to try to keep custom apis made for genesys available via gms, instead of a separate hosting?

If anybody has a composer skeleton for developing such a service I'd be thrilled if that could be shared

Thanks,

Skickat från min Mi MIX 3 5G via Tapatalk


Offline Kubig

  • Hero Member
  • *****
  • Posts: 2672
  • Karma: 42
Re: Custom ors-service hosted on gms
« Reply #1 on: November 25, 2020, 01:03:52 AM »
I've developed similiar scenario using Interaction Less routing by ORS
Genesys certified professional consultant (GVP, SIP, GIR and Troubleshooting)

Offline gen_rtfm

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 1
Re: Custom ors-service hosted on gms
« Reply #2 on: November 25, 2020, 01:13:15 AM »
I've developed similiar scenario using Interaction Less routing by ORS
Nice!

Do you have any advice to share?

Skickat från min Mi MIX 3 5G via Tapatalk


Offline gen_rtfm

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 1
Re: Custom ors-service hosted on gms
« Reply #3 on: November 28, 2020, 01:30:23 AM »
I've developed similiar scenario using Interaction Less routing by ORS
Nice!

Do you have any advice to share?

Skickat från min Mi MIX 3 5G via Tapatalk
Ok, so i managed to figure the "major parts" and have a custom service accessible via gms. Did you manage to pass parameters from the request to the workflow Kubig? I can't seem to figure out how that's done...

Thanks,

Skickat från min Mi MIX 3 5G via Tapatalk


Offline gen_rtfm

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 1
Re: Custom ors-service hosted on gms
« Reply #4 on: December 01, 2020, 01:58:36 AM »
Today's update:

I was able to get parameters passed by including them in the scxml project properties, then creating a dfm for my custom service based off the callback-dfm, and then pointing to that in ors config.

A few quirks to iron out and i'm not sure it's a good fit for me, seems like an awful lot of overhead for small apis.

But I'm glad I got it working to some extent ;)

Skickat från min Mi MIX 3 5G via Tapatalk


Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1816
  • Karma: 60
Re: Custom ors-service hosted on gms
« Reply #5 on: December 01, 2020, 02:10:42 AM »
Hi,

Any input parameter starting with underscore character is automatically passed to your workflow. You can get its then by using "_data.<your parameter name incl. underscore character>" expressions.

R.

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1816
  • Karma: 60
Re: Custom ors-service hosted on gms
« Reply #6 on: December 01, 2020, 02:13:46 AM »
Hi again,

Please check Technical Tutorial #116 on Genesys Care website for interaction-less processing details incl. sample.

R.

Offline gen_rtfm

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 1
Re: Custom ors-service hosted on gms
« Reply #7 on: December 01, 2020, 02:26:15 AM »
Hi again,

Please check Technical Tutorial #116 on Genesys Care website for interaction-less processing details incl. sample.

R.
Thanks for the tip, I'll check it out!

Skickat från min Mi MIX 3 5G via Tapatalk