BPM, Workflow, and Case

BPM, Workflow, and Case

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Failed delete old unused installed snapshots in ProcessServer?

    Posted 7 days ago

    Hi, 

    I am currently trying to delete unused snapshots in the IBM BAW 21.0.3.1 Process Server because a warning alert appears in the system health status in ProcessAdmin, indicating that the number of snapshots is almost at the limit (500 snapshots). I am following the official documentation https://www.ibm.com/docs/en/baw/20.0.0?topic=scripting-bpmdeletesnapshot, but I am encountering the following errors when trying to delete a snapshot:

    wsadmin>print AdminTask.BPMDeleteSnapshot('[-containerAcronym PFK -containerSnapshotAcronyms [PFK01.1]]')
    WASX7015E: Exception running command: "AdminTask.BPMDeleteSnapshot('[-containerAcronym PPF -containerSnapshotAcronyms [PFK01.1]]')"; exception information:
    java.lang.Exception: java.lang.Exception: To delete the snapshot, you must first uninstall any business-level applications that are related to it. Please refer to the help information about BPMDeleteSnapshot in the Info Centre.


    wsadmin>print AdminTask.BPMDeleteSnapshot('[-containerAcronym PFK -containerSnapshotAcronyms [PFK_120]]')
    WASX7015E: Exception running command: "AdminTask.BPMDeleteSnapshot('[-containerAcronym PFK -containerSnapshotAcronyms [PFK_120]]')"; exception information:
    java.lang.Exception: java.lang.Exception: You cannot delete a snapshot that is referenced by tasks belonging to BPD instances referencing another snapshot

    The snapshots I want to delete no longer have any active or running instances. For snapshot PFK_01.185.3_05102023_1700 (PFK01.1): when validating the logs, it refers to an active instance with ID 125253, but when validating the instances in the Process Inspector, I see it active on my last installed snapshot "PFK_12.03102025". I don't understand why this is happening, as it creates a dependency on orphaned tasks.



    ------------------------------
    Jhon Freddy Osorio
    ------------------------------


  • 2.  RE: Failed delete old unused installed snapshots in ProcessServer?

    Posted 6 days ago

    First issue is probably exactly what error message says -  business-level application (BLA) is attached to snapshot.  From ISC check Applications -> Applications Types -> Business-level applications. BLA can be removed using BPMUndeploy command. 

    https://www.ibm.com/docs/en/baw/20.0.0?topic=scripting-bpmundeploy

    Second issue might be a snapshot which contains terminated process with document attachment. There is a fix on top of BAW 21.0.3 

    https://www.ibm.com/support/pages/apar/JR64002



    ------------------------------
    Sebastian Tylko
    ------------------------------