Hi,
I'm trying to run a script that spits out "Hello world" to a log file whenever a workflow starts up. I've done this before (years ago) on a Solaris box, and don't remember it being this hard to figure out...
I've got my perl script in $iwhome/local/bin/hello.ipl. When I run it from the command line, it writes "Hello world" to the log file, so I know that's working.
Then I ran
iwat WorkflowActivate "C:\Interwoven\....\hello.ipl"
Zilch. Nada. No peep in the log when I kick off a new workflow, even though I see the event being logged in the iwevents.log.
I read through the completely un-helpful KB #49977 and it's talking about some "iwlocal.cfg" file that I'm not familiar with. I also read some other KBs that tell you how to set up the iwat as a windows service (using the srvany.exe utility).
So, my first questions are:
1) How can you tell if your script is correctly "registered" with TeamSite as a subscriber to a given event (i.e. WorkflowActivate)
2) Is it required to run your iwat script as a service? (No, right?)
3) Does anyone know what the "iwlocal.cfg" file that the KB refers to is? I don't see any reference to it in the various docs, and I don't see a file by that name in my installation.
Thanks in advance!
Tom