OK, that works, but it isn't really what you wanted right? Because now the workflow will always trigger whenever something that is not the user tool touches the record. That could be for example the Mid-Tier, Email engine or custom API's. A better approach might be not to rely on the client-type at all and include a display only radio button field to act as a trigger field. This way the runmacro thingy could include the radio button in the set field, triggering the specific functionality that you need for that action. And if you decide that you also need this for other kind of clients or processes or even specific users, it is easy to do.
Just a thought, hope it helps. Hugo On Jan 23, 2008 8:31 PM, Opela, Gary L Contr OC-ALC/ITMA < [EMAIL PROTECTED]> wrote: > 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" > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

