Skip to main content

Configuring Custom Case Numbering Scheme

KwikWork includes the ability to create custom case numbering schemes with the use of the KwikWork Server Extensions. The solution uses an Identifier|Separator|Prefix|Number schema that should meet all of your needs and requirements.  This is a guide to enable and configure this optional functionality.

Step 1 Create a Custom Object in FileNet

  1. Using FileNet Enterprise Manager or ACCE, create a new custom object.

  2. Add a property definition of type 'String' with a length of 4000.  Make a note of the name of this property since it will be used in the configuration of the custom case numbering.

  3. Create an instance of the custom object and note the ID of the object.

Step 2 Update KwikWork Server Extensions

  1. Extract the config.properties file from the 'kwcn-server-extensions.jar' file that is contained in the plugins folder of the installer package using an archiving tool such as 7-zip.



  2. Open the config.properties files using a text editor.  Change the value of the 'caseNumberingConfig' to the ID of the custom object that was created in step 1 and set the 'caseNumberIngConfigProperty' to the name of the property definition that was created for the custom object.

    CODE
    caseNumberingConfig = {F7AB8717-D2E7-4DE8-A580-2FE1BA807AD0}
    caseNumberingConfigProperty = KWseConfig
  3. Stop the Websphere server for Filenet, then open the 'kwcn-server-extensions.jar' archive located n the 'IBM/ECMClient/plugins' folder using an archiving tool such as 7-zip.

  4. Delete the the config.properties file in the jar and add the config.properties file that was updated with the parameters of the custom object.



  5. Close the jar then start the Websphere application server for FileNet.

 

Step 3 Create Change Preprocessor for Case Folder

  1. Create a new Change Preprocessor Action with the following class handler.

    CODE
    com.enchoice.kwcn.serverextensions.CaseNumberingPreprocessor
  2. Add the change preprocessor created above to the case class for which the custom numbering will be configured.

Step 4 Configure Case Numbering Format

  1. Extract the config.json file from the 'kwcn-server-extensions.jar' file that is contained in the plugins folder of the installer package using an archiving tool such as 7-zip.



  2. Open the config.json file using a text editor.  Change the value of the 'symbolicName' to the name of the symbolic name of the case class for which the custom numbering will be used.

    CODE
      "caseTypes": [
        {
              "symbolicName": "KW_Legal",
              "symbol": "KWCNRE",
              "prefix": "2016",
              "digits": 10,
              "separator": "_",
              "sequence": 1
        }
      ]
    }
  3. Update other properties as required for the case solution.  The table below provides a brief description of each option that is available.

    PropertyDescription
    symbolicNameSymbolic name of the case class`
    symbolSymbol that is used at the beginning of the case identifier
    prefixAn identifier that is added before the number such as the year
    digitsNumber of digits that will be used in the numerical portion of the case identifier
    separatorA separator that separates the symbol from the remainder of the case identifier
    sequenceThe first number in the sequence
  4. Search for the instance of the custom object and copy the updated contents of the config.json and set it as the value of the 'caseNumberingConfigProperty' then save the changes.
  5. Future configurations of the case numbering scheme can be made by editing the property directly in FileNet.

 

Resources

 

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.