Global Workflow Callbacks

The supplied extension WorkflowCallbacksDemo demonstrates the use of global callbacks to implement a custom process or action before or after a Workbench Project Schematic operation. Specifically, it defines pre- and post-operation callbacks for each available operation. Each task, or argument passed to the invoked method, defines an action: writing a message in the command line window either before or after execution of the operation.

This example also shows how to specify that a callback method (in this case, onAfterUpdate) is processed only for a specific task or template.