" /> Incorrect value for parameter 'InteractionType' - Genesys CTI User Forum

Author Topic: Incorrect value for parameter 'InteractionType'  (Read 2781 times)

Offline G3n35Y5

  • Newbie
  • *
  • Posts: 46
  • Karma: 0
Incorrect value for parameter 'InteractionType'
« on: March 12, 2012, 03:02:39 PM »
Advertisement
Hi,

In my environment I have created a strategy for sending an outbound email which uses Create Email block followed by Send Email block. When Create Email block is executed, following error is thrown:


'Envelope3rdServer'(list) 'Service' 'Email'
                          'Method' 'CreateEmailOut'
                          'Parameters'(list) 'FaultCode' '204'
                                            'FaultString' '05:07:56.468 Server: Email_Server Msg: Incorrect value for parameter 'InteractionType', expected 'Outbound' but was 'Internal''

In order to avoid the above given error, I updated the business data attributes 'InteractionType' and 'InteractionSubtype' using following functions (despite knowing that Genesys recommends not to update these attributes):

UpdateBusinessData['InteractionType','Outbound']
UpdateBusinessData['InteractionSubtype','OutboundNew']

When the above functions were used for updation, following error was returned:

15:25:35.219_T_I_1378020576717001 [14:32] EventAttachedDataChanged is received for tserver Interaction_Server[Multimedia_Switch] (this dn=asl_EmailStrategy, refid=13)
received from 65202(Interaction_Server)ServerABC:7000(fd=) message EventError
  (ERROR CODE UNKNOWN)
  AttributeErrorMessage  'Attempt to set/change read-only property'
  AttributeErrorCode  66
  AttributeThisDN  'asl_EmailStrategy'
  AttributeCustomerID  'Resources'
  AttributeConnID  1378020576717001
  AttributeReferenceID  14
15:25:35.219_T_E_ [14:0c] EventError is received for tserver Interaction_Server[Multimedia_Switch] - Attempt to set/change read-only property
received from 65202(Interaction_Server)ServerABC:7000(fd=) message EventError
  (ERROR CODE UNKNOWN)
  AttributeErrorMessage  'Attempt to set/change read-only property'
  AttributeErrorCode  66
  AttributeThisDN  'asl_EmailStrategy'
  AttributeCustomerID  'Resources'
  AttributeConnID  1378020576717001
  AttributeReferenceID  15

Could anyone help me how to resolve this problem without updating the business data attributes?

Thanks!
« Last Edit: March 22, 2012, 05:24:25 AM by Genesys_user »

Offline G3n35Y5

  • Newbie
  • *
  • Posts: 46
  • Karma: 0
Re: Incorrect value for parameter 'InteractionType'
« Reply #1 on: March 16, 2012, 01:48:31 PM »
Could anyone please help me on this??  ???

Offline kubikle

  • Full Member
  • ***
  • Posts: 140
  • Karma: 7
Re: Incorrect value for parameter 'InteractionType'
« Reply #2 on: March 16, 2012, 10:09:48 PM »
Is it possible to look at properties of Create Email object that was used and may be the URS log (starting from EventRouteRequest)

Offline YevgeniyP

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 0
Re: Incorrect value for parameter 'InteractionType'
« Reply #3 on: March 19, 2012, 05:12:57 AM »
First, you definitely do not need these updates:
UpdateBusinessData['InteractionType','Outbound']
UpdateBusinessData['InteractionSubtype','OutboundNew']

properties InteractionType and InteractionSubtype are read only in IxnServer.

Second, check options of your CreateEmail block, it supposed to generate interactions with all properties correct automatically. Are you creating email in reply to some another email or based on existing interaction?