OS4X plugin os4xplugin recipient by sfid
Purpose
Retrieve and update the recipient of a job according to SFID settings of files contained in job.
Requirements
- At least one file node must contain a value for the node "orig_sfid" or "dest_sfid", depending on the current configuration.
Configuration
The plugin is globally configurable in "Configuration" -> "OS4X Enterprise" -> "Plugins".
Behaviour
The plugin can act in two modes:
- normal: the plugin extracts the SFID of the file from the node "dest_sfid"
- inverted: the plugin extracts the SFID of the file from the node "orig_sfid"
The plugin checks the direction of the job, which has an influence of the field where the above extracted SFID is being searched. There are two directions available:
- outgoing: the configuration field "Alternative my SFID" of a person is being used.
- incoming: the configuration field "Alternative own SFID" of a person is being used.
The field to be searched has to be configured at person level (hierarchy level 4, inside departments). It is configurable in the fieldset "Alternative OFTP parameter".
If exactly one person has the found value, this person will be the new recipient of the job. The database and XML information will be actualized in one step.
If more than one person has the found value, the result will be ignored, but logged.
If no person has the found value, the situation will be logged.