Hi Frex

 

Are you SURE that's the correct field ID ?  That's a 10 digit number, and
ARS fields are normally 9 digit or less

 

HTH

 

David Sanders

Remedy Solution Architect

Enterprise Service Suite @ Work

==========================

 

tel +44 1494 468980

mobile +44 7710 377761

email  <mailto:david.sand...@westoverconsulting.co.uk>
david.sand...@westoverconsulting.co.uk

 

web  <http://www.westoverconsulting.co.uk/>
http://www.westoverconsulting.co.uk

 

  _____  

From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of Grooms, Frederick W
Sent: Wednesday, February 04, 2009 5:19 PM
To: arslist@ARSLIST.ORG
Subject: Re: ARERR [310] Value has wrong data type for the field

 

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:arsl...@arslist.org] On Behalf Of Frex Popo
Sent: Wednesday, February 04, 2009 9:15 AM
To: arslist@ARSLIST.ORG
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

 


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"

Reply via email to