Process Model Utilities

Overview

Provides a collection of Smart Services and Functions to manage and analyze several process model settings

Key Features & Functionality

Functions:

  • filterCustomCleanupWithinGivenDays
  • getPMAlertsRecipients
  • getPMCleanupSettings
  • getModelsWithGivenTimerTrigger

Smart Services

  • Delete Process Model Version
  • Generate Models Security Report
  • PMAlertsRecipientsSetter
  • PM Cleanup Settings Setter
  • PM Custom Dashboard Remover
  • Process Dashboard Remover
  • Update Custom Sender
  • Set Model Security
  • Set Email Attachments Folder
  • Hide/Show Sections in Task For Models
  • PM Find Models Modified After

!!!! WARNING: !!!! The Delete Process Model Version smart service should be executed over versions you don't have running instances on. You can use a process model report to determine whether you can safely delete versions or not. The reason being this will delete the XMLs from the file system as well , which are used by running instances. Make sure you delete only those versions from which you no longer have process instances running.

Anonymous
  • Hi - I'm trying to use this plug in to help clean up our environment by removing really old and excessive volumes of Process Model versions. We're on 23.4 and the Plug In version is 3.1.4 but when invoking the smart service I'm getting this in the logs after a couple of minutes of execution. 

    javax.resource.spi.work.WorkCompletedException: java.lang.NoSuchMethodError: com.appiancorp.suiteapi.process.ProcessDesignService.deleteProcessModelVersion(Ljava/lang/Long;Ljava/lang/String;)V
    at org.springframework.jca.work.SimpleTaskWorkManager$DelegatingWorkAdapter.run(SimpleTaskWorkManager.java:244)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:750)
    Caused by: java.lang.NoSuchMethodError: com.appiancorp.suiteapi.process.ProcessDesignService.deleteProcessModelVersion(Ljava/lang/Long;Ljava/lang/String;)V
    at com.appiancorp.ps.processmodelutilities.ProcessModelVersionDeleter.run(ProcessModelVersionDeleter.java:111)

    Is there a help guide around what the inputs to the Smart Service are ? 

    Keep Versions is mandatory, 

    Oldest Age is optional 

    Process Model Ids is a mandatory array. 

    Any suggestions / help would be very much appreciated. 

    Thank you.

  • Hi Rob, version 3.1.4 should address this. Can you let us know if you continue to experience this issue?

  • v3.1.4 Release Notes
    • Fixed an issue where all process model versions would occasionally get deleted.

  • Hi,

    Is there any update on the support of this plugin to the recent version 23.4. I came across this plugin is not working for recent version which is 23.4.

  • I have seen this plugin delete all versions for multiple process models for multiple customers when used in the environment cleanup app. The environment cleanup app has specific safeguards in place to prevent all version from being deleted so it seems like there is an issue with the plugin itself. Has this been seen before?

  • Hi all,
    I've just upgraded to 3.1.3 and having an issue with the cancel process smart service v2 node.
    As input I'm providing 
    cancel Async Subs : True
    dry run : True
    processId's :tointeger(pv!processIDs)

    where processIDs are an array (orignally text) of 268572139; 268572141

    Ouputs are the defaults mapped to pv! as usual.


    However at run time the node is failing with the following message : 

    [Lcom.appiancorp.suiteapi.process.ProcessSummary; cannot be cast to [Ljava.lang.Long;


  • Release Notes - v3.1.3
    • Security Updates
  • Hello, in the input variables of the smart service "Delete Process Model Versions", which must be put:
    - keep versions.
    - oldest age.
    - Process models Ids.

  • v3.1.2 Release Notes
    • Removed Set Email Header and Footer smart service
  • But to answer your question, the plugin is just using this api https://docs.appian.com/suite/help/20.1/api/com/appiancorp/suiteapi/process/ProcessExecutionService.html#unarchiveProcess-java.lang.Long-

    which is going to rely on the archive being in the default folder of /server/archived-processes

    Are you moving your .l files out of there using a script?