Have you opened a ticket with Remedy? Since RunMacro is a Remedy
supplied utility they should correct their code.

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Opela, Gary L Contr
OC-ALC/ITMA
Sent: Wednesday, January 23, 2008 1:32 PM
To: [email protected]
Subject: Re: Client-Type

Fixed:

I changed $CLIENT-TYPE$ = 17 to $CLIENT-TYPE$ != 3

I'm guessing that when you bypass the user tool to modify tickets, then
$Client-Type$ is not set, or at least runmacro doesn't know the
client-type, thereby it is $NULL$, which will evaluate to true in this
situation.

>From the User tool, it works fine. The filter does not fire because it
knows the Client Type is indeed 3.

Thanks,

Gary Opela, Jr
Sr. Remedy Developer
Leader Communications, Inc.
405 736 3211


-----Original Message-----
From: Opela, Gary L Contr OC-ALC/ITMA
Sent: Wednesday, January 23, 2008 1:27 PM
To: '[email protected]'
Subject: Client-Type

>From the Beginners Guide page 673:

"The client type of the API program. When used in workflow, this keyword
resolves to a number that corresponds to Remedy User, Remedy
Administrator, DSO, and so on.
The number representations of the different client types are in the ar.h
file,
which is located in <install_directory>\api\include. For example, if you
use
$CLIENT-TYPE$ in a Run If qualification for an active link, you can
cause the
active link to execute only for a mid-tier client (for example,
$CLIENT-TYPE$ = 9)."


I have found that, according to my ar.h file, the Client-Type for
runmacro.exe is 17. I have created a filter that runs only when
$CLIENT-TYPE$ = 17 to send a message.

Unfortunately, it is not running whenever runmacro.exe modifies the
ticket. The guide only mentions Active Links. Active Links are not fired
whenever runmacro.exe submits the ticket.

I need this workflow to only fire whenever runmacro modifies the ticket.
Can I still reference CLIENT-TYPE, or will I have to reference a
different keyword? According to everything I can see, the way I'm doing
it now should be working fine.

Thanks,

Gary Opela, Jr
Sr. Remedy Developer
Leader Communications, Inc.
405 736 3211

 

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

Reply via email to