public interface IPluginProcessing extends IFCPlugin
A workflow plugin action can be configured in two ways:
Implement IPluginConfigParamList
to provide the user with a description of the properties that can be
configured for each action individual plugin action.
Alternatively, you can also create a custom UI interface for the plugin action. This is useful in case you are
creating a complex workflow plugin action that requires a complex configuration. To do so, implement
IPluginCustomGUI
and provide a managed bean and XHTML page for the UI interface.
CONFIG_FILENAME
ATTR_NAME
Modifier and Type | Method and Description |
---|---|
IPluginProcessingRetVal |
execute(IPluginProcessingParams params)
The main method of this plugin.
|
getDescription, getName, initialize, initPlugin, install, shutdown, shutdown, uninstall
IPluginProcessingRetVal execute(IPluginProcessingParams params) throws FCPluginException
params
- The parameters this plugin may make use of. Contains for example the current Aktion
that is
executed, the plugin action configuration; and the current IWorkflowProcessingContext
that lets you access
information regarding the current execution of the workflow.FCPluginException
- May be thrown when this plugin cannot perform the workflow action. When you throw this
exception, the workflow action is judged to have failed. By default, this stops workflow processing and the form
record is marked as erroneous. However, depending on the configuration the user made in the workflow configuration
UI interface, the error may also be ignored and workflow processing may continue with another action. Please note
that the same result can be achieved by not throwing an error and returning a non-successful return value.Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.