Package org.imixs.marty.plugins
Class DMSSplitPlugin
java.lang.Object
org.imixs.workflow.engine.plugins.AbstractPlugin
org.imixs.marty.plugins.DMSSplitPlugin
- All Implemented Interfaces:
org.imixs.workflow.Plugin
public class DMSSplitPlugin
extends org.imixs.workflow.engine.plugins.AbstractPlugin
The DMSSplitPlugin provides functionality to create sub-process instances for
each attachment added in an origin process. The configuration is similar to
the Imixs-Workflow SplitAndJoinPlugin. The item name to trigger the creation
of subprocesses is "dms_subprocess_create" The tag 'true '
indicates that the attachments will be removed from the origin process after
the subprocess was created.
-
1.0.0
100
10
namTeam
A subprocess will contain the $UniqueID of the origin process stored in the
property $uniqueidRef. The origin process will contain a link to the
subprocess stored in the property $workitemRef. So both workitems are
linked together.
The list of attachments will be taken from the BlobWorkitem.- Version:
- 1.0
- Author:
- Ralph Soika
-
Field Summary
FieldsFields inherited from class org.imixs.workflow.engine.plugins.AbstractPlugin
INVALID_ITEMVALUE_FORMAT, INVALID_PROPERTYVALUE_FORMAT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.imixs.workflow.ItemCollectionrun(org.imixs.workflow.ItemCollection adocumentContext, org.imixs.workflow.ItemCollection adocumentActivity) The method evaluates the workflow activity result for items with name: subprocess_create subprocess_update origin_update For each item a corresponding processing cycle will be started.Methods inherited from class org.imixs.workflow.engine.plugins.AbstractPlugin
close, getCtx, getWorkflowService, init, mergeFieldList, uniqueList
-
Field Details
-
SNAPSHOTID
-
LINK_PROPERTY
- See Also:
-
DMS_SUBPROCESS_CREATE
- See Also:
-
-
Constructor Details
-
DMSSplitPlugin
public DMSSplitPlugin()
-
-
Method Details
-
run
public org.imixs.workflow.ItemCollection run(org.imixs.workflow.ItemCollection adocumentContext, org.imixs.workflow.ItemCollection adocumentActivity) throws org.imixs.workflow.exceptions.PluginException The method evaluates the workflow activity result for items with name: subprocess_create subprocess_update origin_update For each item a corresponding processing cycle will be started.- Throws:
org.imixs.workflow.exceptions.PluginException
-