Class TaxonomyPlugin
java.lang.Object
org.imixs.workflow.engine.plugins.AbstractPlugin
org.imixs.workflow.engine.plugins.TaxonomyPlugin
- All Implemented Interfaces:
Plugin
The Imixs Taxonomy plugin can be used to collect taxonomy data at specific
stages of a business process. The plugin can be configured by the activity
result :
Example:
<taxonomy name="approval">
<type>start</type>
<anonymised>true</anonymised>
</taxonomy>
defines a start point named 'approval'
The result will be stored into the the following fields:
- taxonomy.name : contains a list of all collected taxonomy names (e.g. 'approval')
- taxonomy.[NAME].start : contains the start time points in a list (latest entry on top!)
- taxonomy.[NAME].end : contains the end time points (list)
- taxonomy.[NAME].duration: contains the total time in seconds
- taxonomy.[NAME].start.by: contains the $owner list at the first start
- taxonomy.[NAME].end.by: contains the $editor list at the last stop
- Author:
- rsoika
-
Field Summary
Fields inherited from class org.imixs.workflow.engine.plugins.AbstractPlugin
INVALID_ITEMVALUE_FORMAT, INVALID_PROPERTYVALUE_FORMAT
-
Constructor Summary
-
Method Summary
Methods inherited from class org.imixs.workflow.engine.plugins.AbstractPlugin
close, getCtx, getWorkflowService, init, mergeFieldList, uniqueList
-
Field Details
-
INVALID_FORMAT
- See Also:
-
-
Constructor Details
-
TaxonomyPlugin
public TaxonomyPlugin()
-
-
Method Details
-
run
public ItemCollection run(ItemCollection documentContext, ItemCollection event) throws PluginException - Parameters:
documentContext
- the workitem to be processedevent
- the workflow event containing the processing instructions- Returns:
- updated workitem for further processing
- Throws:
PluginException
-