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_FILENAMEATTR_NAME, COL_NAMEATTR_DISPLAY_NAME| Modifier and Type | Method and Description |
|---|---|
IPluginProcessingRetVal |
execute(IPluginProcessingParams params)
The main method of this plugin.
|
default boolean |
isReplacePlaceholders()
By default, all placeholders in all configured properties of this workflow action plugin are replaced.
|
getDescription, getDescription, getDisplayName, getName, initialize, initPlugin, install, shutdown, shutdown, uninstallIPluginProcessingRetVal 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
(or any other) 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.default boolean isReplacePlaceholders()
false.true, all placeholders in the plugin parameters (IPluginProcessingParams.getParams())
are replaced before they are passed on to the plugin. Return false to disable this behavior.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.