Just to check …You are doing a Set Fields action with $PROCESS$ 
PERFORM-ACTION-ADD-ATTACHMENT 1000003962  "C:\Photos\00109125J.jpg" ??

 

What type of field are you trying to set the result of the $PROCESS$ action to?

If you are setting an integer field try setting a character field instead.

 

Fred

 

From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Frex Popo
Sent: Wednesday, February 04, 2009 9:15 AM
To: [email protected]
Subject: ARERR [310] Value has wrong data type for the field

 

Dear all,

 

ARSERVER 7.1.00 Patch 004
OS: WINDOWS SERVER 2003
DB was SQL Server 2005
Client 7.1.0 Patch004


I hope this is not another bug as I already came across two this week which I 
reported to BMC.

 

I have a filter set a field, which adds an attachment to an attachment pool in 
the CTM:People form which fires on modify. The log shows that the filter 
executes a set action an fails with the error: ARERR [310] Value has wrong data 
type for the field

 

Here an extract from the filter log:

 

0: Set Fields
<FLTR> <TID: 0000001952> <RPC ID: 0000067665> <Queue: Fast      > <Client-RPC: 
390620   > <USER: Demo                                         >                
   PERFORM-ACTION-ADD-ATTACHMENT 1000003962  "C:\Photos\00109125J.jpg"
<FLTR> <TID: 0000001952> <RPC ID: 0000067665> <Queue: Fast      > <Client-RPC: 
390620   > <USER: Demo                                         >                
   Exit code: 0  Value: 0
<FLTR> <TID: 0000001952> <RPC ID: 0000067665> <Queue: Fast      > <Client-RPC: 
390620   > <USER: Demo                                         >               
Value has wrong data type for the field
<FLTR> <TID: 0000001952> <RPC ID: 0000067665> <Queue: Fast      > <Client-RPC: 
390620   > <USER: Demo                                         > **** Error 
while performing filter action: Error 310

 

Here is the client API log showing the ARSetEntry error:

 

 

   ARSetEntry results
Return Code: ERROR
Status List: 1 items
Status Struct:
   Message type: ERROR
   Message number: 310
   Message: Value has wrong data type for the field
   Appended: 

 

I tried this in another server installation on a SQL SERVER 2000 Databse and it 
works just fine.

 

Any thoughts on this?

 

Many thanks

frex





Reply via email to