I have an ongoing case for this at BMC, but maybe the ARSlist can shed some 
light...

Using a development ARS 8.1.1 server on Windows Server with an MS/SQL back-end.
Custom application, simple workflow: run a process to create a PDF file and 
then attach it to a record in an ARS form.

I execute a Run Process to create a PDF file "D:\$PerNumb$.pdf" where the 
$PerNumb$ is correctly taken from the current record.
The file is definitely created correctly.

I then attempt to add that file into an Attachment Pool in a filter Run-Process 
action with this command:
PERFORM-ACTION-ADD-ATTACHMENT 617001300 "D:\$PerNumb$.pdf"
The field ID is for the Attachment Pool
That failed, too.

I then tried several iterations of filters with and without the Tick-Bang (`!), 
but no luck.

I submitted a ticket to BMC when the 'Run Process' failed and they suggested 
that I use a Set-Field action instead.
I tried the Set-Field in an Active Link that executed After-Modify - to ensure 
that the file was created in a filter before attempting the attachment.
Using an integer field to accept the Exit Code, I set the field to
$PROCESS$ PERFORM-ACTION-ADD-ATTACHMENT 617001300 "D:\$PerNumb$.pdf"

Same error in ALL cases:
File pointer is NULL or invalid file pointer. (ARERR 295)

Have I missed something basic? Has anyone gotten around this?
Thanks in advance,
Joel
Joel Sender    [email protected]    310.829.5552


---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to