Hi,
1.Custom field is set as Select a value
2. Below mentioned is the history of actions
Tue Nov 17 12:35:38 2009 Rukmangb - Deal Id 111 added
# Tue Nov 17 12:35:38 2009 Rukmangb - Brand 111 added
# Tue Nov 17 12:35:39 2009 RT_System - CI Ticket State CI New changed to CI
Entry
# Tue Nov 17 12:35:39 2009 Rukmangb - CI Ticket State CI Entry changed to CI
New
# Tue Nov 17 12:35:39 2009 RT_System - CI Ticket State CI New changed to CI
Entry
# Tue Nov 17 12:35:39 2009 Rukmangb - CI Ticket State CI Entry deleted
3.
Custom condition:
return 0 unless ($self->TicketObj->FirstCustomFieldValue('Deal Id') ne "" and
$self->TicketObj->FirstCustomFieldValue('Brand') ne "" and
$self->TicketObj->FirstCustomFieldValue('CI Ticket State') eq "CI New");
return 1;
Custom preparation code :
Return 1;
Custom Action clean up code :
my( $st, $msg ) = $self->TicketObj->AddCustomFieldValue(
Field => 13,
Value => "CI Entry",
RecordTransaction => 1);
return 1;
Regards,
Tony John
-----Original Message-----
From: Ken Crocker [mailto:[email protected]]
Sent: Tuesday, November 17, 2009 11:49 PM
To: Tony John , Bangalore
Cc: [email protected]
Subject: Re: [rt-users] Error :is no longer a value for custom field
Tony,
A couple of questions first:
1) Does the Custom Field have Categories?
2) Does the Custom Field actually get updated with that value,
regardless of error message?
3) what does your scrip code look like?
I can't offer suggestions to code I cannot see.
Kenn
LBNL
On 11/17/2009 9:52 AM, Tony John , Bangalore wrote:
> Hi ,
> Im trying to update a customfiled value using a scrip but evrytime I does it
> I gets this error "is no longer a value for custom field value ".Any help?
>
> Regards,
> Tony John
>
> DISCLAIMER:
> -----------------------------------------------------------------------------------------------------------------------
>
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only.
> It shall not attach any liability on the originator or HCL or its affiliates.
> Any views or opinions presented in
> this email are solely those of the author and may not necessarily reflect the
> opinions of HCL or its affiliates.
> Any form of reproduction, dissemination, copying, disclosure, modification,
> distribution and / or publication of
> this message without the prior written consent of the author of this e-mail
> is strictly prohibited. If you have
> received this email in error please delete it and notify the sender
> immediately. Before opening any mail and
> attachments please check them for viruses and defect.
>
> -----------------------------------------------------------------------------------------------------------------------
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: [email protected]
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [email protected]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com