" /> Using a variable as the mail autoresponse selector - Genesys CTI User Forum

Author Topic: Using a variable as the mail autoresponse selector  (Read 3075 times)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Using a variable as the mail autoresponse selector
« on: December 10, 2011, 08:36:21 PM »
Advertisement
Hi guys,
I have a scenario that have worked with Renès help but got stuck at a point.
My scenario:
Customer wants to autoanswer many emails based on the format of the subject.
Ok, so created a screening rule that works and it does return the Subject value (vSubject)
Now with this vSubject in mind I created a ListObject with many items as AutoAnswers templates I have created on Knowledge Manager, so I have a format in Knowledge manager for AA-001 and AA-002 and so on
The ListObject has as item name the vSubject and as KVP a 'AutoAnswerTemplateName' so I then catch the AutoAnswerTemplateName in a variable (vAutoAnswer)
Now, next step will be just to send an autoanswer with this template name I just selected...but...the dropdown list only allows to see values from UCS and not able to introduce a variable...
So there is another option upside that says:
Get Standard Response from UData
But if I do this then URS complains about missing UDATA (Missing parameter SrlId or CtgId or User Data key CategoryId)
My goal is that if the customer tomorrow wants to add or delete a new standard response he only would have to go and create the template on Knowledge Manager and then declare this on the ListObject with its value and that is it, never have to edit the strategy...

How can I accomplish this???

Offline kubikle

  • Full Member
  • ***
  • Posts: 140
  • Karma: 7
Re: Using a variable as the mail autoresponse selector
« Reply #1 on: December 11, 2011, 05:05:30 AM »
Wouldn't help attaching to interaction of SrlId with value of id of standard responce before invoking Autoresponce with getting autoreponse from user data?
Alternatively most likely using raw External Service object can resolve such types if issues (as all multimedia obejcts are just "nice outfit" for external service obejct):
Select EmailServer as application type,  name of server (if needed), Service=Email, Method=AutoResponse with parameters:
SrlId=variable with standard responce id (optional parameter if not sepecied Get from UserData will be used)
Queue=name of outpot queue
InclOriginMsg=true/false
DoNotThread=true/false
FieldCodes.CodeName1=Codevalue (if field codes are used)
FieldCodes.CodeName2=Codevalue (if field codes are used)