loading table of contents...

5.4.3. Server-Side Actions

[Caution]Caution

Note that we describe the old legacy Workflow API here. It is preferrable to use the Unified API for writing server-side actions. Please consult Section 6.10.3, “Actions” in CoreMedia Unified API Developer Manual for details.

Interface to implement

Server-side actions implement the interface com.coremedia.workflow.WfAction.

Convenience classes

For convenience you can subclass com.coremedia.workflow.common.actions.AbstractAction which already includes implementations of all needed getter and setter methods and which uses a condition as guard (isExecutable()). You need to implement the execute() method for your own functionality. This method will be called by the CoreMedia Workflow Server. In Section 5.4.6, “Example Action” you will find a complete example of a server-side action.