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.AbstractPluginThe 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.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.1.0.0 100 10 namTeam - Version:
- 1.0
- Author:
- Ralph Soika
-
-
Field Summary
Fields Modifier and Type Field Description static StringDMS_SUBPROCESS_CREATEstatic StringLINK_PROPERTYstatic StringSNAPSHOTID
-
Constructor Summary
Constructors Constructor Description DMSSplitPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.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.
-
-
-
Field Detail
-
SNAPSHOTID
public static String SNAPSHOTID
-
LINK_PROPERTY
public static final String LINK_PROPERTY
- See Also:
- Constant Field Values
-
DMS_SUBPROCESS_CREATE
public static final String DMS_SUBPROCESS_CREATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
run
public org.imixs.workflow.ItemCollection run(org.imixs.workflow.ItemCollection adocumentContext, org.imixs.workflow.ItemCollection adocumentActivity) throws org.imixs.workflow.exceptions.PluginExceptionThe 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
-
-