Go ahead and use 2 set fields actions so you can see the values of the fields
in the log.
Action 1: Set Fields
EscalationOffset=$EscalationOffset$
Action 2: Set Fields
$PROCESS$ @@: Application-Bus-Time-Add "$TIMESTAMP$" "$EscalationOffSet$"
"1" "SGP000000000070" "SGP000000000070"
Fred
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Robert Fults
Sent: Wednesday, March 17, 2010 3:46 PM
To: [email protected]
Subject: Re: Application-Bus-Time-Add question
**
It's coming up as null in the set fields. :s Even though the data is there and
the qualification is being passed. I ran into another issue when I tried this
with a filter: $TIMESTAMP$ doesn't work. I get "ARERR [4568] The start or end
time provided for the command is not valid." I also tried passing this from a
char field and got the same result.
Sincerely,
Robert Fults
Remedy Dev.
Florida International University
Email: [email protected]<mailto:[email protected]>
http://uts.fiu.edu
From: Lamy, Thomas [mailto:[email protected]]
Sent: Wednesday, March 17, 2010 4:10 PM
To: Robert Fults
Subject: RE: Application-Bus-Time-Add question
$EscalationOffSet$ appears to be $NULL$ when you fire the AL. I would use a
logical if ($EscalationOffSet$ == NULL) { Throw an error message } first.
From: Robert Fults [mailto:[email protected]]
Sent: Wednesday, March 17, 2010 3:58 PM
To: Lamy, Thomas
Subject: RE: Application-Bus-Time-Add question
Tried it with the same results. I thought it was strange that the process
requires it to be in quotes in the first place, but $TIMESTAMP$ seems to work.
Sincerely,
Robert Fults
Remedy Dev.
Florida International University
Email: [email protected]<mailto:[email protected]>
http://uts.fiu.edu
From: Lamy, Thomas [mailto:[email protected]]
Sent: Wednesday, March 17, 2010 3:39 PM
To: Robert Fults
Subject: RE: Application-Bus-Time-Add question
Looks like "$EscalationOffSet$" is being read as a string and not an integer.
Try taking out the quotes.
From: [email protected]
[mailto:[email protected]] On Behalf Of Robert Fults
Sent: Wednesday, March 17, 2010 3:02 PM
To: [email protected]; [email protected]
Subject: [HERD] Application-Bus-Time-Add question
How come
$PROCESS$ @@: Application-Bus-Time-Add "$TIMESTAMP$" "86400" "1"
"SGP000000000070" "SGP000000000070"
returns a result in my set fields action but
$PROCESS$ @@: Application-Bus-Time-Add "$TIMESTAMP$" "$EscalationOffSet$" "1"
"SGP000000000070" "SGP000000000070"
doesn't?
$EscalationOffSet$ is an integer field; I am able to get the info from this
field using the set fields action, but as soon as I use the
Application-Bus-Time-Add process nothing is pulled over.
Here is my AL log entry:
<ACTL> Start active link processing -- Operation - On Control
<ACTL> For Schema - +testingform
<ACTL> Linked to field - btn_showEsc (536870914)
<ACTL> On screen type - SET
<ACTL> Checking +testform:btnSetEscTime (0)
<ACTL> -> Passed qualification -- perform if actions
<ACTL> 0: Set Fields
<ACTL> Process: Application-Bus-Time-Add "3/17/2010 2:35:25 PM" ""
"1"
<ACTL> Date/Time Field (536870915) = Wednesday, March 17, 2010
3:35:25 PM
<ACTL> Integer Field (536870916) = 86400
Sincerely,
Robert Fults
Remedy Dev.
Florida International University
Email: [email protected]<mailto:[email protected]>
http://uts.fiu.edu
_Platinum Sponsor: [email protected] ARSlist: "Where the Answers Are"_
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"