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 |
|---|---|---|---|---|
|
|
Boolean |
|
Not applicable |
Enables both Case and CRM Task recurrence interfaces. |
|
|
Arrays of field mappings with format suffixes |
|
Not applicable |
Adds fields to the copied values for the corresponding record type. |
|
|
Map object |
Standard comparison mappings for native and Field Service time and estimated time. |
Not applicable |
Supplies comparable search representations for task fields. |
|
|
Map object |
Standard comparison mappings for native and Field Service start and end times. |
Not applicable |
Supplies comparable search representations for case fields. |
|
|
Positive whole-number interval, stored as a string |
|
Chosen unit |
Sets how far ahead unfinished series can be generated. |
|
|
|
|
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 |
|---|---|
|
|
Native Company reference |
|
|
Native Task priority |
|
|
Native assignee reference |
|
|
Field Service Customer reference |
|
|
Field Service Task Type reference |
|
|
Field Service Task team selections |
|
|
Field Service Task Asset reference |
|
|
Field Service Time Zone reference |
|
|
Field Service Start Time |
|
|
Field Service End Time |
The following table lists the standard case mappings.
|
Exact Field Mapping |
Copied Value |
|---|---|
|
|
Native Company reference |
|
|
Native Case priority |
|
|
Native assignee reference |
|
|
Field Service Customer reference |
|
|
Field Service Case Asset reference |
|
|
Field Service Case Type reference |
|
|
Field Service Start Time |
|
|
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 |
|---|---|---|---|
|
|
|
|
Lowercase time text using the context's time format |
|
|
|
|
Lowercase time text using the context's time format |
|
|
|
|
Lowercase time text using the context's time format |
|
|
|
|
Lowercase time text using the context's time format |
|
|
|
No standard entry |
Hours-and-minutes text derived from the native decimal-hour value |
|
|
|
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')"
}
}
}