Functions in OSWorkflow are where you can perform the "meat" of your workflow-based application. They can be executed before and after (pre- and post-) transitions from one state to another in the finite state machine. OSWorkflow supports the following forms of functions:

3.4.1 Java-based Functions

  • Java classes loaded by a ClassLoader
  • Java classes retrieved via JNDI
  • Remote EJBs
  • Local EJBs

3.4.2 BeanShell Functions

3.4.3 BSF Functions (perlscript, vbscript, javascript)

3.4.4 Utility Functions

OSWorkflow also includes a small set of 3.4.4 Utility Functions that will start you off in the right direction. Some of these utility functions are extremely valuable in creating dynamic workflow definitions.