public interface IPluginFormPreProcess extends IFCPlugin
FormEingang
with the submitted form values was created and just before the workflow processing is about to
start. Contrast this with a plugin of type IPluginFormPrePersist
, which is run before a FormEingang
is created; and to IPluginFormPreRespond
, which is run after the workflow was processed.
This plugin may prevent the workflow from being executed, in which case the a generic error page is returned to the user. You might use this plugin to have the submitted form data saved to the database, but prevent the workflow from being executed, or you could perform additional business logic.
CONFIG_FILENAME
ATTR_NAME, COL_NAME
ATTR_DISPLAY_NAME
Modifier and Type | Method and Description |
---|---|
IPluginFormPreProcessRetVal |
execute(IPluginFormPreProcessParams params)
The main method of this plugin.
|
getDescription, getDescription, getDisplayName, getName, initialize, initPlugin, install, shutdown, shutdown, uninstall
IPluginFormPreProcessRetVal execute(IPluginFormPreProcessParams params) throws FCPluginException
When any exception other than FCPluginException
is thrown, further workflow actions are not processed and a
general error template is returned to the user who submitted the form.
params
- The parameters this plugin may make use of. Gives you access, for example, to the current
Vorgang
, or the current Projekt
.FCPluginException
- May be thrown when this plugin cannot perform is task due to any reason. Please note that
throwing this exception will not prevent the workflow from being executed.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.