What OS is your Remedy server on?   On Unix/Linux you can look at the 
arfork.log file to see the actual command executed and what error may have 
occurred.
And is this server side (Filter) or client side (Active Link)?

From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Brittain, Mark
Sent: Wednesday, December 21, 2016 2:41 PM
To: [email protected]
Subject: Re: Quotes in a set field

**
Hi Fred

Actually echo echo “$field$” > file worked on the Remedy Side but didn’t 
actually create or update the file. Probably either a path or permission issue, 
but this was a great start.

Thanks
Mark


-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Grooms, Frederick W
Sent: Wednesday, December 21, 2016 1:54 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: Quotes in a set field

**
There are multiple ways to do this.

Notify Action (using the Other value)
Runprocess Action (doing something like echo “$field$” > file )
Doing a plugin to write the file

After you have a file on the server you can use the runprocess command in a set 
fields action
  PERFORM-ACTION-ADD-ATTACHMENT fieldID [ "fileName" ]

Fred


-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Brittain, Mark
Sent: Wednesday, December 21, 2016 12:29 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: Quotes in a set field

**
Thanks everyone, this has been very helpful. Have a second question which might 
not be possible.

Based on the workflow that I started with below I end up with something like 
this

{
        "MultiRequest":  {
                "data":  [

                       {
                              "host": "Server ABC.34190",
                              "duration" :"1440 minutes"
                        },
                       {
                              "host": "Server Z.34190",
                              "duration" :"1440 minutes"
                        }
                      ]
            }
}

Is there way to push this into a file and then attach the file to a record? The 
file would always have the same file name.

Thanks
Mark


-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Misi Mladoniczky
Sent: Tuesday, December 20, 2016 3:54 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: Quotes in a set field

**

Hi,

The LJ solution is the simplest one. But you can do what you originally tried 
to if you add one more double quote making it four, not three:
("""" + "hosts:" + """" + $Server Name$)

Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011)

Ask the Remedy Licensing Experts (Best R.O.I. Award at WWRUG10/11/12/13)
* RRR|License - Not enough Remedy licenses? Save money by optimizing.
* RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs
Find these products, and many free tools and utilities, at http://rrr.se


-----Original Message-----
December 19, 2016 11:13 PM, "LJ LongWing" 
<[email protected]<mailto:%22lj%20longwing%22%20%[email protected]%3e>>
 wrote:
**
"""hosts: """ + $Server Name$



-----Original Message-----
On Mon, Dec 19, 2016 at 3:09 PM, Brittain, Mark 
<[email protected]<mailto:[email protected]>> wrote:
**

Hi All

I need to do a set field where there is text in quotes and the a field 
reference. Result would be like

“host:” server1

Tried “”” + “hosts:” + “”” + $Server Name$ but that doesn’t work. I know it is 
something simple but it has been a long time since I have tried it.

ARS 7.6

Thanks

Mark

Mark Brittain | Systems Engineer | 315.634.9337<javascript:false>

125 Elwood Davis Road | Syracuse NY 13212

[Navisite]




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

Reply via email to