Extending a Process action
Extending a process action involves creating a Java class with the logic you want to implement, then registering it with the action code as an additional string appended to the INTERFACENAME.
Procedure
-
Create a new implementation of
ProcessNounNameActionCmd
that contains the logic you wish to implement. - Update the command registry to specify that the new implementation
is used.To register a new implementation, add a new entry to the CMDREG table where:
- INTERFACENAME=interface name of the command+action code
- CLASSNAME=class name of the command implementation to use
- PROPERTIES (optional)=properties to set on the command. There should be a corresponding set method on the implementation that takes a string argument as the parameter input.