Class 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
    • Constructor Summary

      Constructors 
      Constructor Description
      DMSSplitPlugin()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
    • Constructor Detail

      • DMSSplitPlugin

        public DMSSplitPlugin()
    • Method Detail

      • 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