IT Process Automation

 View Only
  • 1.  Archiving not working at 4.1

    Posted Dec 06, 2016 08:20 AM

    I'm trying to archive old instances from CA Service Catalog integration before upgrade to 4.2 SP2.


    1 - Created a process to archive all instances, changing autoarchive value to 1 using ControlInstance Calls


    <soapenv:Envelope xmlns:soapenv="" xmlns:itp="">


    <SOAP-ENV:Envelope xmlns:SOAP-ENV="">
          <controlInstanceResponse xmlns="">
             <actionStatus>The archive action was successfully executed.</actionStatus>


    2 - After that, I verify the policies to grant Archive configuration

    ITPAM Archive Configuration


    3 - But the instances keep at c2oruntimeobjects table.


    Did I making anything wrong?


    Thank you!

  • 2.  Re: Archiving not working at 4.1

    Broadcom Employee
    Posted Dec 06, 2016 09:15 AM

    It is difficult to determine what is wrong based on the information provided.   I might recommend you open a support case to help investigate, but here are couple things to note:


    1. Those Policy values for archiving and purging are set at runtime, so they retain the policy configuration that was set when each instance was initially started.   Please see Knowledge document Discussion of Archive and Purge configuration for further details on the various archive and purge settings.


    2. Prior to version 4.2 SP2 there were a number of code issues that prevented the archive and purge from working properly


    Does archiving work if you go onto the Operations tab, select a process instance, Right Click and select Archive?

  • 3.  Re: Archiving not working at 4.1

    Posted Dec 06, 2016 12:31 PM

    Thank you Michael,


    Yes, archiving work if i use the button and tried to restart PAM to refresh the Archiving Policies, but nothing changed.


    I will open a case about that. I'll post the answer here if I had some luck

  • 4.  Re: Archiving not working at 4.1
    Best Answer

    Broadcom Employee
    Posted Dec 06, 2016 12:39 PM

    Good, so it sounds like archiving is working to some extent.  


    The archive settings in the Policy only effect instances started after the change was saved, any and all instances run prior to a change to these policies retain the older original policy and may explain to some degree why you are not seeing them archived.  



    That being said, the best action I can recommend is to upgrade to 4.2 sp2, where we have reworked the archiving engine and resolved the issues within the orchestrator that impacted archiving.   We still see archiving issues when an instance is launched from Catalog but that is due to Catalog setting autoarchive=false for all instances meaning that they will never be automatically archived and must be archived manually through the Operations tab.