Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: G3n35Y5 on March 12, 2012, 03:02:39 PM

Title: Incorrect value for parameter 'InteractionType'
Post by: G3n35Y5 on March 12, 2012, 03:02:39 PM
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!
Title: Re: Incorrect value for parameter 'InteractionType'
Post by: G3n35Y5 on March 16, 2012, 01:48:31 PM
Could anyone please help me on this??  ???
Title: Re: Incorrect value for parameter 'InteractionType'
Post by: kubikle 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)
Title: Re: Incorrect value for parameter 'InteractionType'
Post by: YevgeniyP 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?