Hi,
As I stated earlier, when sending a text-based timestamp form the client,
the format of the date may not be the same as on the server.
Set a temp-integer-field to $TIMESTAMP$ and use that instead.
Another reason to do this is when client and server is located in
different timezones. The text-based date/time-representation may be
missing the timezone-information.
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.
> I added an integer field to the test form, did the set field and pulled
> the value from the escalation policy form to the test form, then I passed
> the new integer field into the process and it works. Thanks for
> everyone's help on that part. :)
>
> Any ideas one why I get an error using $TIMESTAMP$ in the statement when I
> do this from a filter?
>
> Sincerely,
>
> Robert Fults
> Remedy Dev.
> Florida International University
> Email: [email protected]<mailto:[email protected]>
> http://uts.fiu.edu
>
> From: Grooms, Frederick W [mailto:[email protected]]
> Sent: Wednesday, March 17, 2010 5:09 PM
> Subject: Re: Application-Bus-Time-Add question
>
> **
> 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]<mailto:[email protected]> ARSlist: "Where
> the Answers Are"_
> _Platinum Sponsor:
> [email protected]<mailto:[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"