Joe,

I actually did not notice exactly what was said until your comment...

I quote:
"
Date:         Thu, 10 Dec 2009 12:37:02 -0600
From:         "Hyunkel v2.0" <[email protected]>
Subject: Add-Attachment fail on Filter

I'm trying now to add the attachment to the field, but guess i'm doing
something wrong.

For add the attachment i'm using a filter with a Run Process that calls for:

$PROCESS$ PERFORM-ACTION-ADD-ATTACHMENT 536880912 "/home/remedy/fit_ftp/oth=
er.txt"

The filter is getting executed but, the attachment is not being
attached to the field.
...
"

However if that is all accurate then I think the problem is that the
lord_dynasty is using the $PROCESS$ syntax inside a Run Process
action. (That will not work.)


So lord_dynasty... a few questions to try to clarify things...

Are you using a Set Field action (with the $PROCESS$ construct) or a
Run Process action?

If Set Field action the....
  The set field action should be setting an INTEGER field( not the
attachment field) with the string:
$PROCESS$ PERFORM-ACTION-ADD-ATTACHMENT 536880912
"/home/remedy/fit_ftp/other.txt"

If you are using a Run Process action then the full string for that
action should be:
 PERFORM-ACTION-ADD-ATTACHMENT 536880912 "/home/remedy/fit_ftp/other.txt"

Just another thought...
If you are using a Run Process action then the filter may need to be
NON-PHASED because Run Process actions are "Phase 3 actions". ( Not
sure why I did not think/say that before.)

Maybe some of that will help push you in the right direction?

-- 
Carey Matthew Black
BMC Remedy AR System Skilled Professional (RSP)
ARS = Action Request System(Remedy)

Love, then teach
Solution = People + Process + Tools
Fast, Accurate, Cheap.... Pick two.



On Fri, Dec 11, 2009 at 8:49 PM, Joe D'Souza <[email protected]> wrote:
> If it works it should work from either Run Process or the set field
> $PROCESS$..
>
> Set field actions are better though as they return a success or failure code
> to the field and you can do what you want with that result in terms of error
> handling..
>
> I think what might be interesting to check besides the filter log, is what
> gets returned as that value..
>
> Joe
>
> -----Original Message-----
> From: Action Request System discussion list(ARSList)
> [mailto:[email protected]]on Behalf Of [email protected]
> Sent: Friday, December 11, 2009 3:14 PM
> To: [email protected]
> Subject: Re: Add-Attachment fail on Filter
>
>
> Hyunkel v2.0 wrote:
>> ** I'm trying now to add the attachment to the field, but guess i'm
>> doing something wrong.
>>
>> For add the attachment i'm using a filter with a Run Process that
>> calls for:
>>
>> $PROCESS$ PERFORM-ACTION-ADD-ATTACHMENT 536880912
>> "/home/remedy/fit_ftp/other.txt"
>>
>> The filter is getting executed but, the attachment is not being
>> attached to the field.
>>
>> Do i need to do anything, or am i missing something?
>>
>> Best Regards
>>
>>
>> *Hugo Ruesga*
>> *perotsystems*^*®*
>> US  972.577.7000
>> MX +52 (33) 3332.3868
>>
>> P Please consider the environment before printing this email
>>
>> /The information contained in and transferred with this electronic
>> message is intended only for the recipient(s) designated above, it is
>> protected by law and it may contain information which is privileged
>> and confidential. If you are not the intended recipient, please do not
>> read, copy, or use it, and do not disclose it to others. Please notify
>> the sender of the delivery error by replying to this message, and then
>> delete it from your system. //Thank you./
>>
>>
>
> I'm curious to see if the problem is both ways.  Save the file into the
> attachment field, and remove from the server.
>
> Add a filter the runs PERFORM-ACTION-SAVE-ATTACHMENT 536880912
> "/home/remedy/fit_ftp/other.txt"
>
> Also, have you tried running from the Run Process instead of $PROCESS$ ?
>
> Do you have a Db-Max-Attach-Size set in the ar.conf?
>
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"

Reply via email to