I don't know if this is your problem, but I've found that the Service action in 
an active link won't do anything unless you map both inputs *and* outputs.  I 
was running some tests awhile back where I was simply trying to run a procedure 
based on an active link trigger.  I didn't really care to send anything back to 
the client, so I left the output side of the Service call blank.  After a LONG 
session of testing where I banged my head on the table more than once, I 
finally stumbled on the idea of setting an arbitrary return value and mapping 
it back down to the client.  Only then did the user tool run the Service 
action, which triggered the service operation in the filter.

I haven't seen this little tidbit anywhere in the docs.  Perhaps I missed it.

--Tim





________________________________
From: "Grooms, Frederick W" <[email protected]>
To: [email protected]
Sent: Friday, June 19, 2009 10:25:21 AM
Subject: [ARSLIST] Service Filter and plugin

Has anyone used the new (as of ARS 7.1.x ) Service condition for a
filter to get data from a plugin (using a Set Fields from Filter API
action)?

Here is the scenario:
I have a Display Only form with a button on it.  The button Active Link
does a Service action to the same form sending some fields.  I have a
Service Filter defined on the form that does some set fields actions.  I
can see the filter executing in the arfilter.log file.  One of those
actions is a Set Fields from Filter API (calling the arfperl plugin).
All I am doing in the Perl is setting the output to a constant as a test
($a[0] = 'TEST OK';).  I know the Perl plugin is working as I have other
filters that use it and they are working correctly (I can see the call
in the arplugin.log file for the other filters just nothing for the
Service filter).

I figured I would ask the list before opening a ticket with Remedy.

Thanks
Fred

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"

Reply via email to