Configuring FSM Case and Task Recurrence

Configure recurrence availability, copied fields, and the generation horizon for your account. Set each series' recurrence pattern on the case or task form. For information about recurrence behavior and processing, see FSM Case and Task Recurrence.

Make these changes in the field service configuration record. Before editing the JSON, prepare an inactive revision and validate it. For instructions, see Updating and Validating FSM Configuration.

For recurrence properties, standard copied fields, comparison maps, and default JSON, see FSM Case and Task Recurrence Configuration Reference.

For an example that uses Case recurrence and Program to create three tasks for each case occurrence, see Creating Three Program Tasks for Each Recurring FSM Case.

See the following sections:

Changing Recurrence Availability and Copied Fields

Note:

Before using these examples, replace the custom field IDs with valid values from your account.

Enable recurrence, extend the horizon to 120 days, and add an illustrative task text field:

            {
  "recurrence": {
    "enabled": true,
    "taskFields": [
      "custevent_example_access_notes[string]"
    ],
    "creationRange": {
      "interval": "120",
      "unit": "days"
    }
  }
} 

          

Use an existing field and its compatible format. Retain other custom additions in taskFields, because the custom array replaces the previous custom array. The standard copied-field list remains. For the standard copied fields and comparison-map requirements, see FSM Case and Task Recurrence Configuration Reference. For general mapping syntax, see FSM Field Mapping Reference.

To hide both recurrence interfaces, set recurrence.enabled to false.

Example of Copying Task Instructions and a Custom Integer Value

Use Task recurrence when individual CRM tasks repeat. This fragment is based on an existing account configuration. It copies the task message and an account-specific custom field to later task occurrences.

              {
  "recurrence": {
    "enabled": true,
    "taskFields": [
      "message[string]",
      "custevent20[integer]"
    ]
  }
} 

            

The following table illustrates the two mapping formats.

Mapping

Copied Value

Illustrative Value

message[string]

The task's message text, such as service instructions.

Inspect the panels and record any damage.

custevent20[integer]

The value of an existing custom field using integer formatting.

123

The format suffix tells FSM how to read and write the value. It doesn't create the NetSuite field or change its type. custevent20 is specific to the source account, so use an existing compatible field in your account. An integer-formatted field may hold a whole-number value or a List/Record option's internal ID. The suffix alone doesn't establish the value's business meaning. For a List/Record field, the value must identify an available option.

This example copies the task instructions and custom value to later task occurrences. For example, a weekly inspection task can repeat with the same values. Select the illustrative weekly pattern on the task form. Neither taskFields entry sets the repetition frequency. This example uses Task recurrence directly and doesn't require a Case Program rule.

Retain other required entries when changing taskFields, because the custom array replaces the previous custom array. Standard copied fields still apply. The fragment retains the inherited generation horizon, which is 90 days when no account override is present.

The added fields are also eligible for the series' normal forward propagation. Status restrictions and individual field exemptions still apply. For more information, see Individual Changes and Forward Propagation.

Dependencies and Customization Limits

Important:

Setting recurrence.enabled to false hides the recurrence interfaces but doesn't delete series definitions or occurrences. This setting doesn't confirm that existing series have stopped generating. Ending or deleting a series is a separate operation.

Each series' occurrence count or end date still limits generation. Additional copied fields don't clone every related record. Case child tasks require separately configured Program rules.

Preserve required comparison formats when overriding mappings. The case and task field lists are distinct. Neither list is a switch to show the interface for only one record type.

When Changes Apply

The recurrence interfaces reflect the enablement setting when a form loads. FSM applies copied-field and generation settings during subsequent series assessments. Changing these settings alone doesn't rewrite every existing occurrence.

Additional Information

Related Topics

General Notices