[rt-users] Is anyone successfully using ExtractCustomFieldValues with a multiple-value IP address field?
Lundberg, Emory
emory-lundberg at uiowa.edu
Mon Mar 4 18:08:34 EST 2013
I have a scrip and template that use ExtractCustomFieldValues to pull things out of the body of a message. The problem I have is that I can't seem to figure out how to format this for a multi-value IP address field.
What is the preferred method of inserting these IP addresses using ExtractCustomFieldValues?
Should they be space or comma-seperated? Should they be looped? Should they be repeated in the body of the message individually?
An example of strange behavior I'm seeing when attempting to set 192.168.155.130 and 192.168.155.133 as values in a multi-value IP address field:
[Mon Mar 4 22:13:34 2013] [debug]: Found value for CF: X-VIPS:192.168.155.130 (/opt/rt/rt4/local/plugins/RT-Extension-ExtractCustomFieldValues/lib/RT/Action/ExtractCustomFieldValues.pm:207)
[Mon Mar 4 22:13:34 2013] [info]: CustomFieldValue (VIPS,X-VIPS:192.168.155.130) added: 0 Could not add new custom field value: Couldn't create record: Content is an invalid IP address (/opt/rt/rt4/local/plugins/RT-Extension-ExtractCustomFieldValues/lib/RT/Action/ExtractCustomFieldValues.pm:213)
[Mon Mar 4 22:13:34 2013] [debug]: Found value for CF: 192.168.155.133 (/opt/rt/rt4/local/plugins/RT-Extension-ExtractCustomFieldValues/lib/RT/Action/ExtractCustomFieldValues.pm:207)
Needless to say I'm surely doing something wrong, I just don't know what.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130304/8d748625/attachment.htm>
More information about the rt-users
mailing list