Ok, is there any restriction on it?

 

I've got a simple filter that fires on modify and attempts to put a file
into an attachment field. However, when it runs it finishes successfully,
returns a status of 0, but doesn't put the file in the attachment field. In
fact, if there is a file there already it will clear it out. 

 

This is what the filter log looks like if I use a set fields action:

 

<FLTR> <TID: 0027933600> <RPC ID: 0000000956> <Queue: Fast      >
<Client-RPC: 390620   > <USER: Demo
> /* Fri Feb 22 2008 16:02:40.2354 */     Checking "NCC:SCC:External Process
Report_Add Attachment" (500)

<FLTR> <TID: 0027933600> <RPC ID: 0000000956> <Queue: Fast      >
<Client-RPC: 390620   > <USER: Demo
>    --> Passed -- perform actions

<FLTR> <TID: 0027933600> <RPC ID: 0000000956> <Queue: Fast      >
<Client-RPC: 390620   > <USER: Demo
>         0: Set Fields

<FLTR> <TID: 0027933600> <RPC ID: 0000000956> <Queue: Fast      >
<Client-RPC: 390620   > <USER: Demo
>                   PERFORM-ACTION-ADD-ATTACHMENT 536880912
net-snmp_license.txt

<FLTR> <TID: 0027933600> <RPC ID: 0000000956> <Queue: Fast      >
<Client-RPC: 390620   > <USER: Demo
>                   Exit code: 0  Value: 0

<FLTR> <TID: 0027933600> <RPC ID: 0000000956> <Queue: Fast      >
<Client-RPC: 390620   > <USER: Demo
>               Short Description (8) = 0

 

This is what the filter log looks like if I use a process action:

 

<FLTR> <TID: 0121088928> <RPC ID: 0000000931> <Queue: Fast      >
<Client-RPC: 390620   > <USER: Demo
> /* Fri Feb 22 2008 16:02:13.0647 */     Checking "NCC:SCC:External Process
Report_Add Attachment"

<FLTR> <TID: 0121088928> <RPC ID: 0000000931> <Queue: Fast      >
<Client-RPC: 390620   > <USER: Demo
>         0: Process

<FLTR> <TID: 0121088928> <RPC ID: 0000000931> <Queue: Fast      >
<Client-RPC: 390620   > <USER: Demo
>               $PROCESS$ PERFORM-ACTION-ADD-ATTACHMENT 536880912
net-snmp_license.txt

 

But neither actually sets the file in the attachment field. 

 

The file "net-snmp_license.txt" exists in the Remedy installation's bin
folder.which is where PERFORM-ACTION-SAVE-ATTACHMENT puts files if you don't
specify a path so I figured it would grab from there to. However, it behaves
the same even if I point the "ADD" process to a full path and file.

 

--- J.T. Shyman

 

  _____  

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Jason Miller
Sent: Friday, February 22, 2008 5:04 PM
To: [email protected]
Subject: Re: PERFORM-ACTION-ADD-ATTACHMENT from a filter

 

** Yes it can.

On Fri, Feb 22, 2008 at 1:54 PM, J.T. Shyman <[EMAIL PROTECTED]> wrote:

** 

Does anyone know if PERFORM-ACTION-ADD-ATTACHMENT can be used in a filter to
attach a file from the server? AR 7.0.1 Patch 5 on Linux.

 

--- J.T. Shyman

 

 

__Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"
html___ 


__Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"
html___ 


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

Reply via email to