You can update retention policies in Data Archive based on triggers or events from external applications. For example, you can update the retention policy on archived records when you process a termination for an employee in an external application.
The external application, such as a third-party scheduler, uses a specially formatted URL to call the
RunUpdateRetention.jsp
. When called, the JSP immediately starts the Update Retention Policy standalone job in Data Archive. The JSP uses the parameters that are specified in the URL to run the job.
Perform the following steps to update retention policies from external applications:
Configure security. Specify the machines that have access to call the JSP.
Form the URL that calls
RunUpdateRetention.jsp
. In the URL, specify the parameters for the job.
Add the URL to the external application code. When the external application calls the JSP, Data Archive uses the parameters in the URL to run the Update Retention Policy standalone job.
Form the URL that calls
GetJobStatus.jsp
.
Add the URL to the external application code. When the external application calls the JSP, Data Archive uses the parameters in the URL to provide the status of the Update Retention Policy standalone job. Optionally, use the job status to handle an event in the external application.