Step 3. Add the URL to the External Application Code
Step 3. Add the URL to the External Application Code
Add the URL to the external application code to call
RunUpdateRetention.jsp
. When the external application calls the JSP, Data Archive uses the parameters in the URL to run the Update Retention Policy standalone job. Data Archive runs the job immediately.
The Run Update Retention JSP returns a scheduler ID. The scheduler ID is a required parameter for the URL that calls
GetJobStatus.jsp
. If there is an error, the JSP returns one of the following errors:
-2. The remote IP address or host name is not valid. You may get this error if the IP address or host is not configured in the
conf.properties
file.
-1. Another exception occurred. For example, the WHERE_CLAUSE or the policy is not valid, or the Data Vault Service is not available.