Activity pattern objects

The following list describes the properties on the ActivityPattern object.

Property

User interface field

Description

ActivityClass

Activity Class

Indicates whether the activity is a task or an event. A task has a due date. An event does not.

AutomatedOnly

Automated only

A Boolean value that defines whether only automated additions (by business rules) to the workplan use the activity pattern.

  • If true, the activity pattern does not appear as a choice in PolicyCenter interface.
  • If you do not specify this value, the default is false.

Guidewire recommends that you set this flag set to true for all patterns with a non-general type. This ensures that they are not visible in the PolicyCenter interface.

Category

Category

The category for grouping ActivityPatterns in the PolicyCenter interface.

Code

Code

Any unique text with no spaces. Maximum length is 60 characters. This property is required. The Code property is used to identify the activity pattern when accessing the pattern in rules or Gosu code. You can see this value only through the Administration tab.

Command

Not Applicable

Do not use. For Guidewire use only.

Data-Set

Not Applicable

The value of the highest-numbered data set of which the imported object is a part. PolicyCenter typically orders a data set by inclusion. Thus, data set 0 is a subset of data-set 1, and data set 1 is a subset of data set 2, and so forth.

Description

Description

Describes the expected outcome at the completion of this activity. It is visible only if you view the details of the activity.

DocumentTemplate

Document Template

Document template to display if you choose this activity. Enter the document template ID.

EmailTemplate

Email Template

Email template to display if you choose this activity. Enter the email template file name.

EntityId

Not Applicable

Required. The unique public ID of the activity pattern.

EscalationDays

Escalation days

The number of days from the escalationstartpt to set the Escalation Date for an activity.

EscalationHours

Escalation hours

The number of hours from the escalationstartpt to set the Escalation Date for an activity.

EscalationInclDays

Escalation Include Days

Specifies which days to include. You can set this businessdays or elapsed.

EscalationStartPt

Escalation start point

The initial date used to calculate the target date. If you specify escalationdays or escalationhours, you need to specify this parameter. Otherwise, this parameter is optional.

Mandatory

Mandatory

A Boolean value that defines whether you can skip an activity. Non-mandatory activities act as suggestions about what might be a useful task without forcing you into doing unnecessary work. This value is optional. If you do not specify a value, the application uses a default of true.

PatternLevel

Pattern Level

The level that this pattern is for. Valid choices are:

  • Account
  • All
  • Job

Priority

Priority

Used to sort more important activities to the top of a list of work. This property is required. You can set this property to the following values:

  • urgent
  • high
  • normal
  • low.

Recurring

Recurring

A Boolean value indicating that an activity is likely to recur on a regular schedule. If you do not specify a value, the application uses a default of true.

ShortSubject

Short Subject

A brief description of the activity used on small areas of the PolicyCenter interface such as a calendar event entry. Maximum length of 10 characters.

Subject

Subject

A short text description of the activity that PolicyCenter shows in activity lists. This property is required.

TargetDays

Target days

The number of days from the targetstartpoint to set the activity’s Target Date.

TargetHours

Target hours

The number of hours from the targetstartpoint to set the activity’s Target Date.

TargetIncludeDays

Target Include Days

This field answers the “what days to count” part of calculating the target date. Your options are the following:

  • elapsed—the count all days
  • businessdays—as defined by the business calendar

TargetStartPoint

Target start point

The initial date used to calculate the target date. You need specify this value only if you specify targetdays or targethours. Otherwise, this value is optional.

Type

Type

This specifies what activity type to create.

Note It is only possible to create a custom activity pattern of type General or Assignment Review. Guidewire reserves all other activity pattern types for internal use. See Pattern types and categories for more information.