Previous Topic: Purge Archived Instances on a Daily ScheduleNext Topic: Handling Operators Recovery


Purge Archived Instances with the SOAP Operator

Purge the archived CA Process Automation Orchestrator instances to increase dashboard efficiency. Content administrator permission is required to purge archived instances that are no longer used. You can use a Simple Object Access Protocol (SOAP) Operator or the Configuration Browser to purge archived instances.

Follow these steps:

  1. Click the Library tab.

    The Library Browser pane opens.

  2. Select a folder in the Library Browser folders pane.
  3. In the toolbar, click New and then click Process.

    A new process object appears with a default name.

  4. Click the default process name and change it to a unique name.
  5. Double-click the process in the Library.

    The Process Designer opens with a default set of start and stop operators.

  6. Drag an Invoke SOAP Method operator (from Web Services) in the Operators palette to the process layout.
  7. In the SOAP Call Data properties palette, click WSDL Wizard.
  8. On the WSDL explorer window, enter the WSDL URL and click Load.

    You can access the Web Services Description Language (WSDL) for the CA Process Automation Web services interface at the following URL:

    http(s)://<CA Process Automation Server Name>:CA Portal/itpam/soap?wsdl
    

    WSDL Services, WSDL ports values are populated.

  9. Select the deleteArchivedInstances web services method from the drop-down list and click Apply.
  10. Click Yes to confirm if you want to delete the previously generated variables.
  11. Click Inline text in the SOAP Call Data properties palette.
  12. Modify the Input text source to provide the user name, the password, and the dates values and click OK.

    You can provide the token value, the user name, or the password. Specify the date range in which to delete archived instances in the <fromDate> and <toDate> tags. Use the standard XSD format 2002-05-30T09:00:00.

    Consider the following examples, where the date range is specified in standard XSD format.

    <deleteArchivedInstances xmlns="http://www.ca.com/itpam">
    CA AuthMinder
    <user>Joe</ user >
    <password>thisismypassword</ password >
    CA AuthMinder
    <dateRange>
    <fromDate>2012-02-02T02:00:00.320+05:30</fromDate>
    <toDate>2012-02-02T03:00:00.320+05:30</toDate>
    </dateRange>
    </deleteArchivedInstances>
    
  13. Click Call Results and select the appropriate options to view the results.
  14. Save and run the process.
  15. Verify that you want to save the changes and that you want to monitor the new instance.

    The process runs and displays the completion or failure state.

  16. In the process design, select the Operational Results folder in the Dataset tab to view the deletion status.
  17. Select Operations, Process Instances and select the Archived option to verify the deletion.

    The product deletes instances that were archived in the specified date range.