FSM Case and Task Recurrence Configuration Reference

This reference lists properties, standard copied fields, comparison maps, and default JSON for Field Service Management (FSM) case and task recurrence.

For configuration guidance and examples, see Configuring FSM Case and Task Recurrence.

This reference includes the following sections:

The following table lists recurrence settings and their defaults.

All settings in this table belong under recurrence.

Property or Setting

Accepted Value

Default

Units

Effect

enabled

Boolean

false

Not applicable

Enables both Case and CRM Task recurrence interfaces.

taskFields, caseFields

Arrays of field mappings with format suffixes

[]. No custom additions. Standard copied fields still apply.

Not applicable

Adds fields to the copied values for the corresponding record type.

taskChangedFieldsMap

Map object

Standard comparison mappings for native and Field Service time and estimated time.

Not applicable

Supplies comparable search representations for task fields.

caseChangedFieldsMap

Map object

Standard comparison mappings for native and Field Service start and end times.

Not applicable

Supplies comparable search representations for case fields.

creationRange.interval

Positive whole-number interval, stored as a string

"90"

Chosen unit

Sets how far ahead unfinished series can be generated.

creationRange.unit

"days", "weeks", "months", "years"

"days"

Calendar unit

Specifies the calendar unit for the generation horizon. It doesn't set the series repetition pattern.

For generation purposes, an unfinished series still needs expected occurrences. This status doesn't indicate whether its cases or tasks are complete.

Standard Copied Fields

The following tables list the fields copied before any custom taskFields or caseFields additions. The [] defaults indicate no custom additions. Standard fields are still copied, but the mappings don't clone the complete source record. Recurrence calculates occurrence dates from the pattern.

The following table lists the standard CRM task mappings.

Exact Field Mapping

Copied Value

company[integer]

Native Company reference

priority[string]

Native Task priority

assigned[integer]

Native assignee reference

custevent_nx_customer[integer]

Field Service Customer reference

custevent_nx_task_type[integer]

Field Service Task Type reference

custevent_nx_task_team[array]

Field Service Task team selections

custevent_nx_task_asset[integer]

Field Service Task Asset reference

custevent_nx_time_zone[integer]

Field Service Time Zone reference

custevent_nx_start_time[time]

Field Service Start Time

custevent_nx_end_time[time]

Field Service End Time

The following table lists the standard case mappings.

Exact Field Mapping

Copied Value

company[integer]

Native Company reference

priority[integer]

Native Case priority

assigned[integer]

Native assignee reference

custevent_nx_customer[integer]

Field Service Customer reference

custevent_nx_case_asset[integer]

Field Service Case Asset reference

custevent_nx_case_type[integer]

Field Service Case Type reference

custevent_nx_start_time[time]

Field Service Start Time

custevent_nx_time_zone[integer]

Field Service Time Zone reference

The lists differ: task priority uses [string], and case priority uses [integer]. The standard case list excludes task team and Field Service End Time mappings. To copy other required existing fields, add those fields to the appropriate custom list. For examples, see Configuring FSM Case and Task Recurrence.

Use custom lists to add fields. Adding a standard field again doesn't reliably replace its format and can create duplicate mappings. This topic doesn't provide instructions for replacing standard field formats through taskFields or caseFields. For information about format syntax, see Mapping Formats.

Changed-Field Comparison Maps

Recurrence uses taskChangedFieldsMap and caseChangedFieldsMap to read search values for change comparison and propagation. These maps are separate from the copied-field lists. A comparison entry doesn't make a field eligible for copying. Each map key must match the changed-field name being read. If no entry matches, recurrence uses that field's own mapping.

The standard time entries use Formula Text to cast each source value as a timestamp with local time zone. Each entry formats the timestamp with the time-format string supplied by the execution context, then converts the text to lowercase. These comparison values differ from the [time] format in copied-field lists.

The following table compares task and case search fields for each comparison key.

Comparison Key

Task Search Field

Case Search Field

Standard Comparison Representation

starttime

starttime

startdate

Lowercase time text using the context's time format

custevent_nx_start_time

custevent_nx_start_time

custevent_nx_start_time

Lowercase time text using the context's time format

endtime

enddate

enddate

Lowercase time text using the context's time format

custevent_nx_end_time

custevent_nx_end_time

custevent_nx_end_time

Lowercase time text using the context's time format

estimatedtime

estimatedtime

No standard entry

Hours-and-minutes text derived from the native decimal-hour value

estimatedtimeoverride

estimatedtimeoverride

No standard entry

Duration-override comparison key. The intended representation is hours-and-minutes text. No validated default literal is supplied here.

The native search columns differ from some comparison keys. Task endtime reads enddate, whereas case starttime reads startdate. Preserve these distinctions when changing a comparison map. The time entries use the execution context's time-format value. A fixed JSON time-format literal cannot represent the default in every context.

For estimatedtime, the standard formula constructs hours followed by a colon and a two-digit rounded minute component. For example, 1.5 hours appears as 1:30. For the partial static default, see Static Estimated Time Comparison Default. For formula syntax and mappings that read and write different fields, see Formulas in Field Maps and Reading and Saving Different Fields.

Default JSON

This fragment shows the standard defaults for the properties included. Omitted properties retain inherited values.

            {
  "recurrence": {
    "enabled": false,
    "taskFields": [],
    "caseFields": [],
    "creationRange": {
      "interval": "90",
      "unit": "days"
    }
  }
} 

          

Static Estimated Time Comparison Default

This partial fragment shows the exact static default for estimatedtime. It includes only that comparison entry, so other recurrence settings retain inherited values. The fragment doesn't include a validated override for estimatedtimeoverride. Because the time entries depend on the execution context, this fragment doesn't replace those entries with fixed literals.

              {
  "recurrence": {
    "taskChangedFieldsMap": {
      "estimatedtime": "formulatext:trunc({estimatedtime}) || ':' || to_char(round(mod({estimatedtime}*3600,3600)/60),'FM00')"
    }
  }
} 

            

Additional Information

Related Topics

General Notices