FSM Automatic Record Naming

In Field Service Management (FSM), automatic record naming generates names for asset, case, project, and task records. FSM uses a naming formula for each record type and can update the name when a record is created or edited. The result depends on the record data and the automatic record naming configuration in your account.

How It Works

This section explains the records and rules involved in the feature.

Automatic Record Naming Conditions

Automatic record naming is configured by default for all four record types. FSM updates the Name field only when the formula produces a different name. The following table shows when automatic naming applies to each record type.

Record Type

Naming Condition

Asset

Applied by default without a condition.

Case

Case Type is selected.

Project

Type is selected.

Task

Task Type is selected.

Important:

Automatic record naming can replace a name you entered manually or a name supplied by a default value. Entering a name before automatic record naming becomes active doesn't prevent FSM from replacing it.

Key Behaviors

Automatic record naming controls manual entry in the Name field and generates names from record data. The following topics explain form behavior and the default name formats:

Processing Model and Lifecycle

This section explains when processing occurs and what can affect its progress and results.

Automatic Record Naming Processing

The Field Service Client script (customscript_nx_client) controls the Name field when you select or clear a type on case, project, and task forms.

The Field Service User Event script (customscript_nx_userevent) prepares the temporary Name when an FSM form loads. For noninteractive create or edit events, it also supplies a placeholder before submission when Name is empty and automatic naming is active. After the original record save, the script applies the naming formula during afterSubmit for record creation or edits, including inline edits. The naming conditions must be met.

After saving, compare the stored name with the name expected from the configured formula and the record data. A matching stored name confirms the naming outcome. It doesn't, by itself, establish that a particular script execution generated that name. For script execution and monitoring information, see FSM Script Reference.

Automatic Record Naming Configuration

FSM configuration defines the naming formula for each record type. You can change the formula or disable automatic naming for an individual record type through its record model configuration. Formulas configured for your account can produce names that differ from the default formats. Disabling model automatic naming stops FSM from replacing the name through this feature on subsequent record creation or edits. It doesn't restore names already replaced.

For supported settings, examples, and verification, see Configuring FSM Automatic Record Naming.

Changing how the Name field behaves on forms doesn't disable model automatic naming. If model automatic naming remains enabled, FSM can still replace a manually entered name after saving when the naming conditions are met.

For the supported model settings, their placement, and an example of disabling automatic naming, see FSM Record Model Configuration. For the separate controls that prepare the Name field on forms, see FSM NetSuite View Configuration. For formula syntax and field mapping, see FSM Searches and Field Mapping.

Related Topics

Additional Information

General Notices