Class TaxonomyPlugin
- java.lang.Object
-
- org.imixs.workflow.engine.plugins.AbstractPlugin
-
- org.imixs.workflow.engine.plugins.TaxonomyPlugin
-
- All Implemented Interfaces:
Plugin
public class TaxonomyPlugin extends AbstractPlugin
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 Modifier and Type Field Description static StringINVALID_FORMAT-
Fields inherited from class org.imixs.workflow.engine.plugins.AbstractPlugin
INVALID_ITEMVALUE_FORMAT, INVALID_PROPERTYVALUE_FORMAT
-
-
Constructor Summary
Constructors Constructor Description TaxonomyPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemCollectionrun(ItemCollection documentContext, ItemCollection event)-
Methods inherited from class org.imixs.workflow.engine.plugins.AbstractPlugin
close, getCtx, getWorkflowService, init, mergeFieldList, uniqueList
-
-
-
-
Field Detail
-
INVALID_FORMAT
public static final String INVALID_FORMAT
- See Also:
- Constant Field Values
-
-
Method Detail
-
run
public ItemCollection run(ItemCollection documentContext, ItemCollection event) throws PluginException
- Throws:
PluginException
-
-