Workflow plugin
Interface: IPluginProcessing
Uses
- Connection of own web service interfaces that are to further process transmitted form values.
- Connection of external systems which are to further process form values
Method signatures
The plugin interface IPluginProcessing references all methods provided by the Basic Interface IFCPlugin.
and additionally the following plugin-specific method signatures:
IPluginProcessingRetVal execute(IPluginProcessingParams params) throws FCPluginException
Transfer values.
If the plugin is processed incorrectly, an FCPluginException is thrown. This can be reacted to in the status processing of Xima® Formcycle, by configuring an action to be executed in the event of an error.
The IPluginProcessingParams type provides the following properties:- Access to the workflow processing context (IWorkflowProcessingContext) and thus to central object such as:
- current process
- form data
- session parameters
- parameters from upstream action processing of the same status
- current user context in order to be able to perform database operations, for example
- Access to the action object in which the processing is carried out and thus information about the classification of the current action within the status processing.
- Access to the parameters configured on the status processing plug-in.
Interface | Reference implementation | Description |
---|---|---|
IProcessingResultSuccess | ProcessingResultSuccess | Return a status (true or false) |
IProcessingResultIntValue | ProcessingResultIntValue | Returns a status and an integer value. |
IProcessingResultStringValue | ProcessingResultStringValue | Returns a status and a string value. |
IProcessingResultMultiValue | ProcessingResultMultiValue | Returns a status and a map with string values. |
IProcessingResultFilePath | ProcessingResultFilePath | Returns a status and a file path. |
IProcessingResultFileData | ProcessingResultFileData | returns a status and the binary data of a file. |
If the plugin is processed incorrectly, an FCPluginException is thrown. This can be reacted to in the status processing of Xima® Formcycle, by configuring an action to be executed in the event of an error.