Job expiration parameters

Guidewire provides the following configuration parameters in config.xml that relate to how PolicyCenter handles jobs.

PolicyCenter provides a Job Expire (jobexpire) batch process that moves jobs from the New, Draft, or Quote status to the Expired status. This process first examines all jobs that have a New, Draft, or Quote status. From this set of jobs, the batch process expires the jobs that meet all of the following criteria:

  • The job meets the expiration threshold.
  • The job meets the creation threshold.
  • The job.canExpireJob method returns true for that job type.

In the base configuration, this process moves Submission jobs to the Expired status if all of the following are true:

  • The job status is either New, Draft, or Quote.
  • The job is at least seven days past the effective date of the policy.

Setting the expiration and creation thresholds – Modify the following parameters to configure the expiration and creation thresholds. If you enable both parameters, the job must meet both thresholds.

Expiring different job types – You can also enable expiration for job types other than Submission. To facilitate this process, PolicyCenter provides a number of Boolean configuration parameters of the following pattern:

JobExpirationCheck<JobType>

Job types – For this configuration parameter, <JobType> can be any of the following:

  • Audit
  • Cancellation
  • Issuance
  • PolicyChange
  • Reinstatement
  • Renewal
  • Rewrite
  • Submission
  • TestJob

To enable the expiration of a particular job type, set JobExpirationCheck<JobType> to true for that particular job type.

See also

JobExpirationCheckAudit

Set to true to enable PolicyCenter to expire this job type. For audit jobs, you must override the canExpireJob method in the gw.job.AuditProcess class and modify it to return true. You can find this class in the Classes folder in Studio.

Default: false

JobExpirationCheckCancellation

Set to true to enable PolicyCenter to expire this job type.

Default: false

JobExpirationCreateDateThreshold

Number of days past the job creation date before batch process JobExpire expires a job. Batch process JobExpire first examines all jobs meeting the date criteria set by this parameter. In addition to this threshold, the job must also meet the JobExpirationEffDateThreshold threshold. The batch process then expires those jobs for which job.canExpireJob is true.

The job creation date is specified in Job.CreateTime.

A value of -1 disables this parameter.

Important: Setting the create date threshold to a negative number effectively disables create date checking, as it is not possible to create a job with a future create date. Disabling JobExpirationCreateDateThreshold does not disable JobExpirationEffDateThreshold.

Default: -1

JobExpirationEffDateThreshold

Number of days past the job effective date before batch process JobExpire expires a job. Batch process JobExpire first examines all jobs meeting the date criteria set by this parameter. In addition to this threshold, the job must also meet the JobExpirationCreateDateThreshold threshold. The batch process then expires those jobs for which job.canExpireJob is true.

The job effective date is the EditEffectiveDate of a PolicyPeriod on the Job. If the job has more than one policy period, then each active policy period on the job must meet the threshold. You access the active policy periods on the job through the Job.ActivePeriods array.

A negative value means that the batch process expires unbound jobs by that number of days before their effective date is reached. For example, a value of -5 for this parameter indicates that jobs expire five days before their effective date.

Default: 7

JobExpireCheckIssuance

Set to true to enable PolicyCenter to expire this job type.

Default: false

JobExpireCheckPolicyChange

Set to true to enable PolicyCenter to expire this job type.

Default: false

JobExpireCheckReinstatement

Set to true to enable PolicyCenter to expire this job type.

Default: false

JobExpireCheckRenewal

Set to true to enable PolicyCenter to expire this job type.

Default: false

JobExpireCheckRewrite

Set to true to enable PolicyCenter to expire this job type.

Default: false

JobExpireCheckSubmission

Set to true to enable PolicyCenter to expire this job type.

Default: true

JobExpireCheckTestJob

Set to true to enable PolicyCenter to expire this job type.

Default: false