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

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static String
     

    Fields inherited from class org.imixs.workflow.engine.plugins.AbstractPlugin

    INVALID_ITEMVALUE_FORMAT, INVALID_PROPERTYVALUE_FORMAT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.imixs.workflow.ItemCollection
    run(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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