Interface IPluginProcessing
- All Superinterfaces:
- IFCPlugin,- INamedUiElement,- INameProviding,- ITransferable,- Serializable
- All Known Subinterfaces:
- IPluginCustomGUI
Deprecated.
Interface for plugins of type processing. A processing plugin provides a new workflow action that can be selected in
 the workflow processing configuration.
 
A workflow plugin action can be configured in two ways:
- Via a plugin parameter in the plugin menu of formcycle. These parameters apply to each individual action.
- For each created plugin action, the user can also configure a set of properties that apply only to that action
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.
- Author:
- XIMA MEDIA GmbH
- 
Field SummaryFields inherited from interface de.xima.fc.plugin.interfaces.IFCPluginCONFIG_FILENAMEFields inherited from interface de.xima.fc.interfaces.INamedUiElementATTR_DISPLAY_NAMEFields inherited from interface de.xima.fc.entities.interfaces.INameProvidingATTR_NAME, COL_NAME
- 
Method SummaryModifier and TypeMethodDescriptionexecute(IPluginProcessingParams params) Deprecated.The main method of this plugin.default booleanDeprecated.By default, all placeholders in all configured properties of this workflow action plugin are replaced.Methods inherited from interface de.xima.fc.plugin.interfaces.IFCPlugingetDescription, getDescription, getDisplayName, getName, initialize, initPlugin, install, shutdown, shutdown, uninstall, validateConfigurationData
- 
Method Details- 
executeDeprecated.The main method of this plugin. It is called during workflow processing when this plugin action needs to be executed.- Parameters:
- params- The parameters this plugin may make use of. Contains for example the current- Aktionthat is executed, the plugin action configuration; and the current- IWorkflowProcessingContextthat lets you access information regarding the current execution of the workflow.
- Returns:
- Whether the action was successful; as well as the return value in case it was successful or the the error message in case it was unsuccessful.
- Throws:
- 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.
 
- 
isReplacePlaceholdersdefault boolean isReplacePlaceholders()Deprecated.By default, all placeholders in all configured properties of this workflow action plugin are replaced. This may result in issues in case you are storing JSON strings or other formatted data in a property. In this case, disable this behavior by returningfalse.- Returns:
- If true, all placeholders in the plugin parameters (IPluginProcessingParams.getParams()) are replaced before they are passed on to the plugin. Returnfalseto disable this behavior.
 
 
- 
IPluginWorkflowNodelets you add a custom node to the new workflow, such as a custom condition of loop node. Usede.xima.fc.workflow.mixin.IPluginActionNodeHandlerif you only need to add an action without children that contains some business logic.