Hi,
To elaborate a little on the answer Fred gave.
You will probably need a temp-field (display-only) that you will store the
calcualated result in, and then display that in the message.
Action 1: Set-Fields: tmpint = $a$ + $b$
Action 2: Message: The result is $tmpint$
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.
> A message box is really just a string so you would want to have 2 actions in
> your Active Link or Filter
>
> Action 1 is a Set Fields to do your calculation
> Action 2 is your Message action
>
> Fred
>
> -----Original Message-----
> From: Action Request System discussion list(ARSList)
> [mailto:[email protected]] On Behalf Of Sweety
> Sent: Saturday, March 29, 2014 7:21 PM
> To: [email protected]
> Subject: Re: Mathematical Calculations
>
> Hi Doug,
>
> I tried to do this calculations in the message box which did not work, it
> returned number1 - number2 as a string as it is.
>
> So, I am trying to find out where all I can do the calculations. With your
> explanation it seens we can do this calculations only in set field or push
> field actions, am I write?
>
> Exploring Remedy.
>
>
> -----Original Message-----
> From: Action Request System discussion list(ARSList)
> [mailto:[email protected]] On Behalf Of Mueller, Doug
> Sent: Saturday, March 29, 2014 6:15 PM
> To: [email protected]
> Subject: Re: Mathematical Calculations
>
> What are you attempting to do?
>
> If you want to perform a calculation and set the result to a field on the
> current
> form... yes, the mechanism for that is a Set Fields.
>
> What other mechanism would you need?
>
> If you want to perform a calculation and set the result to a field on a
> different
> form... well, you would be using a Push Fields operation for that and you can
> do
> a calculation in a Push Fields operation.
>
> If you want to perform a calculation as part of a qualification to do
> something
> like compare the result of two fields to a third field, you can specify the
> calculation as part of the qualification itself. Now, that qualification
> would
> be in a Set Fields or Push Fields operation if in workflow or in the query
> that
> you are issuing to the system if it is a direct query.
>
> If you want to perform a calculation to compute a position or something to use
> in
> a Function call, you can perform the calculation within the function parameter
> itself. Of course, that function would be in a Set Fields or Push fields
> operation.
>
> If this doesn't answer the question, you need to help us out by explaining
> what you
> are trying to accomplish and where it is you want to be able to use a
> calculation.
>
> Essentially, you should be able to use a calculation directly wherever it is
> appropriate to have a calculation.
>
> Doug Mueller
>
> -----Original Message-----
> From: Action Request System discussion list(ARSList)
> [mailto:[email protected]] On Behalf Of Sweety
> Sent: Saturday, March 29, 2014 11:18 AM
> To: [email protected]
> Subject: Re: Mathematical Calculations
>
> Is set fields the only way for calculations?
>
> _______________________________________________________________________________
> 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"