Track Task Definition Model

Capsule Tracks provide a simple way to define a sequence of tasks for things you do in your business. They can be used in opportunities or cases. Each track definition can contain multiple track tasks.

Name Type Description
id Long Read only

The unique id of this track task definition.

description String

A short description of this track task definition. This becomes the task description when the track is applied to a case or opportunity.

daysAfterRule String

Determines how the due date is calculated when creating this task:

  • TRACK_START - task due date is set to daysAfter the date the track was started.
  • LAST_TASK - task due date is set to daysAfter the date the previous task in the track is completed.

Accepted values are: TRACK_START, LAST_TASK

daysAfter Integer

The number of days/weekdays/weeks after the track start date or after the previous task is completed that this task becomes due.

displayOrder Integer

The order the task appears in the track.

dayDelayRule String

Defines how the daysAfter field is treated when calculating the day delay rule.

  • TRACK_DAYS - Treats daysAfter field as value in days.
  • TRACK_WORKDAYS - Treats daysAfter field as value in weekdays.
  • TRACK_WEEKS - Treats daysAfter field as value in weeks.

Accepted values are: TRACK_DAYS, TRACK_WORKDAYS, TRACK_WEEKS

category Category

The category of this task.

trackTaskAssignee Track Task Assignee

Details about which user this task is assigned to when the track is added to a case or opportunity.

createdAt Date Read only

The ISO date/time when this task definition was created.

updatedAt Date Read only

The ISO date/time when this task definition was last updated.