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

Offline gen_rtfm

  • Full Member
  • ***
  • Posts: 114
  • Karma: 4
Custom ors-service hosted on gms
« on: November 24, 2020, 11:02:18 AM »
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 [emoji6]

Thanks,

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


Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: Custom ors-service hosted on gms
« Reply #1 on: November 24, 2020, 04:03:52 PM »
I've developed similiar scenario using Interaction Less routing by ORS

Offline gen_rtfm

  • Full Member
  • ***
  • Posts: 114
  • Karma: 4
Re: Custom ors-service hosted on gms
« Reply #2 on: November 24, 2020, 04:13:15 PM »
[quote author=Kubig link=topic=11912.msg53606#msg53606 date=1606233832]
I've developed similiar scenario using Interaction Less routing by ORS
[/quote]Nice!

Do you have any advice to share?

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


Offline gen_rtfm

  • Full Member
  • ***
  • Posts: 114
  • Karma: 4
Re: Custom ors-service hosted on gms
« Reply #3 on: November 27, 2020, 04:30:23 PM »
[quote author=gen_rtfm link=topic=11912.msg53607#msg53607 date=1606234395]
[quote author=Kubig link=topic=11912.msg53606#msg53606 date=1606233832]
I've developed similiar scenario using Interaction Less routing by ORS
[/quote]Nice!

Do you have any advice to share?

Skickat från min Mi MIX 3 5G via Tapatalk
[/quote]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

  • Full Member
  • ***
  • Posts: 114
  • Karma: 4
Re: Custom ors-service hosted on gms
« Reply #4 on: November 30, 2020, 04:58:36 PM »
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: 1832
  • Karma: 62
Re: Custom ors-service hosted on gms
« Reply #5 on: November 30, 2020, 05:10:42 PM »
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: 1832
  • Karma: 62
Re: Custom ors-service hosted on gms
« Reply #6 on: November 30, 2020, 05:13:46 PM »
Hi again,

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

R.

Offline gen_rtfm

  • Full Member
  • ***
  • Posts: 114
  • Karma: 4
Re: Custom ors-service hosted on gms
« Reply #7 on: November 30, 2020, 05:26:15 PM »
[quote author=René link=topic=11912.msg53611#msg53611 date=1606756426]
Hi again,

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

R.
[/quote]Thanks for the tip, I'll check it out!

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