If it were me....

I think the entry ID of the one row in the form is 000000000000001  (but you 
could
do a search on it and get the entry ID for sure).


I would create an escalation against that form with a Run If of

'1' = "000000000000001"

(or use name or whatever I just don't know what name the field has).

Then, have an action that does a "set fields" to change the value of the debug 
mode
field.

that is it.


OR, you could have a run if of

1 = 0

that should cause a failure and have the ELSE branch do a push fields to the 
record.
This is a bit more complex so I would stick with the first.



The key.... stop thinking it is an API program.  It is a FORM.  Just do standard
form things to it.

Doug

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Pargeter, Christie :CO IS
Sent: Monday, February 11, 2013 11:31 AM
To: arslist@ARSLIST.ORG
Subject: Re: Turn on Filter Logs for a Time Frame

I don't do much API.  How would I trigger this in my escalation?  A Set Field, 
Push, Run Process.

Thank you!

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Mueller, Doug
Sent: Monday, February 11, 2013 9:38 AM
To: arslist@ARSLIST.ORG
Subject: Re: Turn on Filter Logs for a Time Frame

You DO NOT need to do a signal or anything.

Changing the logging mode through the ARSetServerInfo call (which is what the
vendor form uses to interact with the server information) will change the mode
immediately and dynamically.  You do not need to do a server reset.

So, as folks have shared with you, just set up an escalation against the Server
Information vendor form and change the logging setting when you want to turn 
things
on or off.

By the way, you can do the same thing -- using escalations, using filters, 
using the
API, using Web Services, ... -- to any of the server information settings that 
are
exposed through this form.  Be careful of some of the more involved ones (things
like passwords and port settings) because the actual value is a formatted string
with the UI pulling it out into table fields and then reformatting it for 
submission.
If you go direct, you can change these values, but you need to do the 
formatting of
things yourself.

I hope this helps,

Doug Mueller

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Grooms, Frederick W
Sent: Monday, February 11, 2013 8:22 AM
To: arslist@ARSLIST.ORG
Subject: Re: Turn on Filter Logs for a Time Frame

Easy ... Look to see if you have a form on your system of "Configuration 
ARDBC".  That should be a vendor form of your server's ar.ini file.   You can 
update the logging value thru a set fields or push fields action.  Turning on 
logging means changing the value for where Name="Debug-mode".

The only thing I don't remember off hand is if you then have to do an arsignal 
to have the server read the configuration settings

Fred

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Pargeter, Christie :CO IS
Sent: Monday, February 11, 2013 9:55 AM
To: arslist@ARSLIST.ORG
Subject: Turn on Filter Logs for a Time Frame

** 
Can I write an escalation that will turn on the filter logging?  I want to 
catch one of my feeds that happens at 11:45 pm but I tend to be asleep at that 
time of day.  I was wondering if anyone had written some escalations that would 
turn on logging then turn it off at a particular time.



ARS 7.1 p 6
ITSM 7.0.3 p 9
Window 2003
MS SQ 2005
IIS/Tomcat
RKM 7.2 p 4
MidTier 7.5 p 3

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

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

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

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

Reply via email to