Class EventLogPlugin
java.lang.Object
org.imixs.workflow.engine.plugins.AbstractPlugin
org.imixs.workflow.engine.plugins.EventLogPlugin
- All Implemented Interfaces:
Plugin
The Imixs EventLog plugin can be used to create a EventLog entry during
processing an event. The plugin can be configured by the activity
result :
Example:
<eventlog name="snapshot.export">
<ref>$uniqueid</ref>
<timeout>60000</timeout>
<document>
<amount>500.00</amount>
<department>Finance</department>
</document>
</eventlog>
An EventLog entry can be processed by internal or external services. See: https://www.imixs.org/doc/engine/eventlogservice.html
- 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
-
EventLogPlugin
public EventLogPlugin()
-
-
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
-