Try redirecting the output to a file with the complete path name and also
run is silently so it suppresses the command window.. this is done by using
the /C switch to suppress the command window after executing the command..

Joe

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[email protected]]on Behalf Of Kim Santana
Sent: Monday, July 12, 2010 5:49 PM
To: [email protected]
Subject: Re: create a file and attach it to current form??????


I am trying to create an AL that will take some text and create a file on
the c drive of the client.


This is the command I am trying to use.

cmd cd c:\echo "$tmp_Text For File$">"$Infrastructure Change ID$".csv

this command works fine and a file is created when run directly in a command
line (I substitute the fields with data)



This command seems also run fine when I turn on client logging



when the command is run in the AL
a command window pops up : c:\Program Files|AR System\ User

 Why , Why, Why,   is this happening????


Arsystem 7.1 patch 5
Windows 2003
SQL 2005



Kimberly



-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Grooms, Frederick W
Sent: Friday, June 25, 2010 2:55 PM
To: [email protected]
Subject: Re: create a file and attach it to current form??????

I haven't done it on Windows but here is the basic logic I would use.

Collect your data (could be into a field)
Output your data to a file on the server (using echo or the notify action)
Use the PERFORM-ACTION-ADD-ATTACHMENT command in a Set Fields action

For more info on the Notify action use the Help -> Contents and Index in
your admin tool and display the "The Notify filter or escalation action"
topic.

Fred


-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Kim Santana
Sent: Friday, June 25, 2010 1:40 PM
To: [email protected]
Subject: create a file and attach it to current form??????

Has anyone built workflow or can point me in the right direction to do the
following?

On a form>collect data from a "table walk"> save to a file> and attach that
file to an attachment field/pool on the current form? WHITHOUT manual
intervention?

I have attempted to use the open window action>destination = file (but
attachment fields are visible in the list)....



MS SQL 2005
Windows 2003
AR System 7.1Patch 007

Very much appreciated.

Kimberly Santana
Sr. Remedy Systems Engineer
PHASE*FORWARD

____________________________________________________________________________
___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

____________________________________________________________________________
___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

Reply via email to