Re: $OS$ (AR_KEYWORD_OS)

2008-06-12 Thread Ian Trimnell

Walters, Mark wrote:

**

The User Tool makes use of the Windows GetVersionEx call but only 
distinguishes between


 


Windows 95

Windows 2000

Windows XP

 

Everything else is  "Windows NT or NT Server".  You may be able to do 
a "cmd /c ver" RUN PROCESS in a SET FIELDS action to get the value 
from the OS command line for comparison purposes?


 


Mark


Mark,

Thanks for that.  I'll knock something together along those lines.

Ian


Ian Trimnell, AR System Lead Developer (amongst other jobs),
Specialist Support & Information Team, Academic & Administrative 
Computing Service

Open University, MILTON KEYNES, UK
Phone: 01908 653741   web: http://www.open.ac.uk/
The Open University is incorporated by Royal Charter (RC 000391), an 
exempt charity in England & Wales and a charity registered in Scotland 
(SC 038302).


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"


Re: $OS$ (AR_KEYWORD_OS)

2008-06-12 Thread Gary Opela (Corporate)
Do a set fields where you set a field to:

$PROCESS$ cmd /C ver


The process will likely return a blank line at the beginning, so you might need 
to address that. Whenever you do a set fields with it, you might not see the 
value it returns if the blank line is there, just expand your field so you can 
see more than one line.  You can also set a temp field to the result of this, 
then set the main field to a REPLACE of the temp field, as you cannot do a 
REPLACE directly against a $PROCESS$.

Thanks,

Gary Opela, Jr., RSP
Remedy Engineer
Leader Communications, Inc.
http://www.5pointleader.com
http://www.lcibest.com
Best Product, Best People, Best PriceTM
An ISO 9001:2000 Certified, CMMI(r) Level 3 Rated Company

From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] 
On Behalf Of Walters, Mark
Sent: Thursday, June 12, 2008 8:35 AM
To: arslist@ARSLIST.ORG
Subject: Re: $OS$ (AR_KEYWORD_OS)

The User Tool makes use of the Windows GetVersionEx call but only distinguishes 
between

Windows 95
Windows 2000
Windows XP

Everything else is  "Windows NT or NT Server".  You may be able to do a "cmd /c 
ver" RUN PROCESS in a SET FIELDS action to get the value from the OS command 
line for comparison purposes?

Mark

From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] 
On Behalf Of Ian Trimnell
Sent: 12 June 2008 14:13
To: arslist@ARSLIST.ORG
Subject: Re: $OS$ (AR_KEYWORD_OS)

**
David Morgan wrote:

Ian



You can use the $OS$ keyword which is fine, but you may want the

$VERSION$ keyword instead?





OS  The operating system of the machine on which a process is

running. You can

use this keyword to build workflow that executes conditionally

based on the

current operating system.

Web applications do not support the $OS$ keyword; it will return

NULL.



VERSION

The software version running on the client (active links) or

server (filters and

escalations). This keyword includes any applicable patch number.

Note: The $VERSION$ keyword might not be interpreted correctly

in workflow

running on pre-5.0 UNIX user tool clients. Use the $OS$ keyword

in

qualifications to detect UNIX user tool clients.





Regards

Dave Morgan

Dave,

I am aware of the Version keyword and I do check for it.  What I am trying to 
do is warn users who have Vista installed on their PC to upgrade to V7.0.1 if 
they are running V7.0.0 or earlier.  I am wanting to include the word 'Vista' 
in the the message window, but how can I definitely tell that they are running 
Vista if the OS string is the same for Windows 2003 and Vista?

Ian

Ian Trimnell, AR System Lead Developer (amongst other jobs),
Specialist Support & Information Team, Academic & Administrative Computing 
Service
Open University, MILTON KEYNES, UK
Phone: 01908 653741   web: http://www.open.ac.uk/
The Open University is incorporated by Royal Charter (RC 000391), an exempt 
charity in England & Wales and a charity registered in Scotland (SC 038302).
__Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" html___
__Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" html___

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"


Re: $OS$ (AR_KEYWORD_OS)

2008-06-12 Thread Walters, Mark
The User Tool makes use of the Windows GetVersionEx call but only
distinguishes between 

 

Windows 95

Windows 2000

Windows XP

 

Everything else is  "Windows NT or NT Server".  You may be able to do a
"cmd /c ver" RUN PROCESS in a SET FIELDS action to get the value from
the OS command line for comparison purposes?

 

Mark

 

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Trimnell
Sent: 12 June 2008 14:13
To: arslist@ARSLIST.ORG
Subject: Re: $OS$ (AR_KEYWORD_OS)

 

** 

David Morgan wrote: 

Ian
 
You can use the $OS$ keyword which is fine, but you may want the
$VERSION$ keyword instead?
 
 
OS  The operating system of the machine on which a process is
running. You can
use this keyword to build workflow that executes conditionally
based on the
current operating system.
Web applications do not support the $OS$ keyword; it will return
NULL.
 
VERSION
The software version running on the client (active links) or
server (filters and
escalations). This keyword includes any applicable patch number.
Note: The $VERSION$ keyword might not be interpreted correctly
in workflow
running on pre-5.0 UNIX user tool clients. Use the $OS$ keyword
in
qualifications to detect UNIX user tool clients.
 
 
Regards
Dave Morgan

Dave,

I am aware of the Version keyword and I do check for it.  What I am
trying to do is warn users who have Vista installed on their PC to
upgrade to V7.0.1 if they are running V7.0.0 or earlier.  I am wanting
to include the word 'Vista' in the the message window, but how can I
definitely tell that they are running Vista if the OS string is the same
for Windows 2003 and Vista?

Ian



Ian Trimnell, AR System Lead Developer (amongst other jobs),
Specialist Support & Information Team, Academic & Administrative
Computing Service
Open University, MILTON KEYNES, UK
Phone: 01908 653741   web: http://www.open.ac.uk/
The Open University is incorporated by Royal Charter (RC 000391), an
exempt charity in England & Wales and a charity registered in Scotland
(SC 038302). 

__Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"
html___ 


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"


Re: $OS$ (AR_KEYWORD_OS)

2008-06-12 Thread LJ Longwing
Oryou could capture the output of a 'ver' at the command line...I'm
pretty sure that Vista still supports thisthis would give you the
differences between xp and vista

  _  

From: LJ Longwing [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 12, 2008 7:24 AM
To: arslist@ARSLIST.ORG
Subject: RE: $OS$ (AR_KEYWORD_OS)


Doesn't sound like you will be able to because Remedy can't seem to identify
that OS properly, but one thing is that if your server is 7.1, you may want
ALL of your users to upgrade, not just the Vista folks...so maybe getting
your 2003 users to upgrade won't be such a bad thing anyway

  _  

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Trimnell
Sent: Thursday, June 12, 2008 7:13 AM
To: arslist@ARSLIST.ORG
Subject: Re: $OS$ (AR_KEYWORD_OS)


** David Morgan wrote: 

Ian



You can use the $OS$ keyword which is fine, but you may want the

$VERSION$ keyword instead?





OS  The operating system of the machine on which a process is

running. You can

use this keyword to build workflow that executes conditionally

based on the

current operating system.

Web applications do not support the $OS$ keyword; it will return

NULL.



VERSION

The software version running on the client (active links) or

server (filters and

escalations). This keyword includes any applicable patch number.

Note: The $VERSION$ keyword might not be interpreted correctly

in workflow

running on pre-5.0 UNIX user tool clients. Use the $OS$ keyword

in

qualifications to detect UNIX user tool clients.





Regards

Dave Morgan

Dave,

I am aware of the Version keyword and I do check for it.  What I am trying
to do is warn users who have Vista installed on their PC to upgrade to
V7.0.1 if they are running V7.0.0 or earlier.  I am wanting to include the
word 'Vista' in the the message window, but how can I definitely tell that
they are running Vista if the OS string is the same for Windows 2003 and
Vista?

Ian
  _  

Ian Trimnell, AR System Lead Developer (amongst other jobs),
Specialist Support & Information Team, Academic & Administrative Computing
Service
Open University, MILTON KEYNES, UK
Phone: 01908 653741   web: http://www.open.ac.uk/
The Open University is incorporated by Royal Charter (RC 000391), an exempt
charity in England & Wales and a charity registered in Scotland (SC 038302).

__Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"
html___ 

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"


Re: $OS$ (AR_KEYWORD_OS)

2008-06-12 Thread LJ Longwing
Doesn't sound like you will be able to because Remedy can't seem to identify
that OS properly, but one thing is that if your server is 7.1, you may want
ALL of your users to upgrade, not just the Vista folks...so maybe getting
your 2003 users to upgrade won't be such a bad thing anyway

  _  

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Trimnell
Sent: Thursday, June 12, 2008 7:13 AM
To: arslist@ARSLIST.ORG
Subject: Re: $OS$ (AR_KEYWORD_OS)


** David Morgan wrote: 

Ian



You can use the $OS$ keyword which is fine, but you may want the

$VERSION$ keyword instead?





OS  The operating system of the machine on which a process is

running. You can

use this keyword to build workflow that executes conditionally

based on the

current operating system.

Web applications do not support the $OS$ keyword; it will return

NULL.



VERSION

The software version running on the client (active links) or

server (filters and

escalations). This keyword includes any applicable patch number.

Note: The $VERSION$ keyword might not be interpreted correctly

in workflow

running on pre-5.0 UNIX user tool clients. Use the $OS$ keyword

in

qualifications to detect UNIX user tool clients.





Regards

Dave Morgan

Dave,

I am aware of the Version keyword and I do check for it.  What I am trying
to do is warn users who have Vista installed on their PC to upgrade to
V7.0.1 if they are running V7.0.0 or earlier.  I am wanting to include the
word 'Vista' in the the message window, but how can I definitely tell that
they are running Vista if the OS string is the same for Windows 2003 and
Vista?

Ian
  _  

Ian Trimnell, AR System Lead Developer (amongst other jobs),
Specialist Support & Information Team, Academic & Administrative Computing
Service
Open University, MILTON KEYNES, UK
Phone: 01908 653741   web: http://www.open.ac.uk/
The Open University is incorporated by Royal Charter (RC 000391), an exempt
charity in England & Wales and a charity registered in Scotland (SC 038302).

__Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"
html___ 

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"


Re: $OS$ (AR_KEYWORD_OS)

2008-06-12 Thread Ian Trimnell

David Morgan wrote:

Ian

You can use the $OS$ keyword which is fine, but you may want the
$VERSION$ keyword instead?


OS  The operating system of the machine on which a process is
running. You can
use this keyword to build workflow that executes conditionally
based on the
current operating system.
Web applications do not support the $OS$ keyword; it will return
NULL.

VERSION
The software version running on the client (active links) or
server (filters and
escalations). This keyword includes any applicable patch number.
Note: The $VERSION$ keyword might not be interpreted correctly
in workflow
running on pre-5.0 UNIX user tool clients. Use the $OS$ keyword
in
qualifications to detect UNIX user tool clients.


Regards
Dave Morgan


Dave,

I am aware of the Version keyword and I do check for it.  What I am 
trying to do is warn users who have Vista installed on their PC to 
upgrade to V7.0.1 if they are running V7.0.0 or earlier.  I am wanting 
to include the word 'Vista' in the the message window, but how can I 
definitely tell that they are running Vista if the OS string is the same 
for Windows 2003 and Vista?


Ian


Ian Trimnell, AR System Lead Developer (amongst other jobs),
Specialist Support & Information Team, Academic & Administrative 
Computing Service

Open University, MILTON KEYNES, UK
Phone: 01908 653741   web: http://www.open.ac.uk/
The Open University is incorporated by Royal Charter (RC 000391), an 
exempt charity in England & Wales and a charity registered in Scotland 
(SC 038302).


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"


Re: $OS$ (AR_KEYWORD_OS)

2008-06-12 Thread David Morgan
Ian

You can use the $OS$ keyword which is fine, but you may want the
$VERSION$ keyword instead?


OS  The operating system of the machine on which a process is
running. You can
use this keyword to build workflow that executes conditionally
based on the
current operating system.
Web applications do not support the $OS$ keyword; it will return
NULL.

VERSION
The software version running on the client (active links) or
server (filters and
escalations). This keyword includes any applicable patch number.
Note: The $VERSION$ keyword might not be interpreted correctly
in workflow
running on pre-5.0 UNIX user tool clients. Use the $OS$ keyword
in
qualifications to detect UNIX user tool clients.


Regards
Dave Morgan


-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Trimnell
Sent: 12 June 2008 12:20
To: arslist@ARSLIST.ORG
Subject: $OS$ (AR_KEYWORD_OS)

This is a multi-part message in MIME format.
--00060408070808020407
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Morning All.

Does anyone know where the return values for the $OS$ keyword come 
from?  I am resurrecting a bit of workflow to get users to update their 
Windows User Tool version if their are using Windows Vista.  I currently

collect login information and one item I collect is the value of the 
$OS$ keyword.  For XP users it correctly states "Windows XP".  For W2K 
it says "Windows 2000".  For Vista, though, I get the string "Windows NT

or NT Server", which I also get for Windows 2003 Server!.

So, how can I successfully test for Vista and not pick the few stray 
2003 users?

BTW the version of the User Tool I have available for users to upgrade 
to is 7.0.01 (patch 007).  I have also downloaded 7.1.00 (patch 003) and

get the same results from the two different OS versions.

Thanks in advance,

Ian Trimnell


Ian Trimnell, AR System Lead Developer (amongst other jobs),
Specialist Support & Information Team, Academic & Administrative 
Computing Service
Open University, MILTON KEYNES, UK
Phone: 01908 653741   web: http://www.open.ac.uk/
The Open University is incorporated by Royal Charter (RC 000391), an 
exempt charity in England & Wales and a charity registered in Scotland 
(SC 038302).


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

--00060408070808020407
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

**





Morning All.
Does anyone know where the return values for the $OS$ keyword come
from?  I am resurrecting a bit of workflow to get users to update
their
Windows User Tool version if their are using Windows Vista.  I
currently collect login information and one item I collect is the value
of the $OS$ keyword.  For XP users it correctly states "Windows
XP". 
For W2K it says "Windows 2000".  For Vista, though, I get the
string
"Windows NT or NT Server", which I also get for Windows 2003
Server!.
So, how can I successfully test for Vista and not pick the few stray
2003 users?
BTW the version of the User Tool I have available for users to
upgrade to is 7.0.01 (patch 007).  I have also downloaded 7.1.00
(patch
003) and get the same results from the two different OS versions.
Thanks in advance,

Ian Trimnell


Ian Trimnell, AR System
Lead Developer (amongst other jobs),
Specialist Support & Information Team, Academic &
Administrative
Computing Service
Open University, MILTON KEYNES, UK
Phone: 01908 653741   web: http://www.open.ac.uk/
The Open University is incorporated by Royal Charter (RC 000391), an
exempt charity in England & Wales and a charity registered in
Scotland (SC 038302).



__Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"
html___

--00060408070808020407--

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"


$OS$ (AR_KEYWORD_OS)

2008-06-12 Thread Ian Trimnell

Morning All.

Does anyone know where the return values for the $OS$ keyword come 
from?  I am resurrecting a bit of workflow to get users to update their 
Windows User Tool version if their are using Windows Vista.  I currently 
collect login information and one item I collect is the value of the 
$OS$ keyword.  For XP users it correctly states "Windows XP".  For W2K 
it says "Windows 2000".  For Vista, though, I get the string "Windows NT 
or NT Server", which I also get for Windows 2003 Server!.


So, how can I successfully test for Vista and not pick the few stray 
2003 users?


BTW the version of the User Tool I have available for users to upgrade 
to is 7.0.01 (patch 007).  I have also downloaded 7.1.00 (patch 003) and 
get the same results from the two different OS versions.


Thanks in advance,

Ian Trimnell


Ian Trimnell, AR System Lead Developer (amongst other jobs),
Specialist Support & Information Team, Academic & Administrative 
Computing Service

Open University, MILTON KEYNES, UK
Phone: 01908 653741   web: http://www.open.ac.uk/
The Open University is incorporated by Royal Charter (RC 000391), an 
exempt charity in England & Wales and a charity registered in Scotland 
(SC 038302).


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"