Hi,
Frederick is correct, you must use a separate Set-Fields-Action to control
the order of execution.
I response to the problem with using $TIMESTAMP$ or a temp-char-field for
the date, it has an explanation.
If the date-time-format of the Client and the Server is the same, it
should work fine. The format can typically be changed by the user, and is
also different for different regional settings.
The solution is to go via an integer field:
Action 1: Set Fields
EscalationOffset=$EscalationOffset$
TimestampInteger=$TIMESTAMP$
Action 2: Set Fields
$PROCESS$ @@: Application-Bus-Time-Add "$TimestampInteger$"
"$EscalationOffSet$" "1" "SGP000000000070" "SGP000000000070"
Best Regards - Misi, RRR AB, http://www.rrr.se
Products from RRR Scandinavia:
* 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.
> 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"
>
> --
> This message was scanned by ESVA and is believed to be clean.
>
>
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"