Page 1 of 1

Loading classes outside of FastTrack for Condition, etc

Posted: Thu Jul 26, 2007 11:04 am
by awilkins
I've been trying to write my own Condition classes to integrate into the workflow, and I'd quite like my own Function and Validator classes as well.

I wrote a simple HelloCondition which just logs some output and returns false, but I can't seem to get FastTrack/OSWorkflow to load the class. I edited the workflow-internal.xml file to point at the class name.

I've tried :
* Putting the class in a plugin which exports the relevant namespace and installing that into the Eclipse instance. I've verified that it works by giving it a test Action triggered from a menu that creates an instance of my Condition class and executes the test. But not so in FastTrack (the transition that I changed from using StatusCondition to HelloCondition shows up in the dropdown list and the output is not logged).
* Just putting the jar in the lib folder along with the OSWorkflow components.

Any hints?

Posted: Thu Aug 23, 2007 3:00 pm
by Stepan Roh
I think you will have to register your lib in plugin.xml or MANIFEST.MF of the plugin which holds OSWorkflow.