FSM Activity Base Model Reference
This reference is intended for administrators and developers who work with shared Activity model mappings and sourcing behavior.
The models/activity model provides shared mappings and sourcing behavior inherited by the CRM Task and Project Task models. The Case model also reuses selected sourcing behavior. This model is separate from the Field Service Activity record used by automatic service time tracking, which supports CRM Tasks only.
Standard default structure (JSON fragment):
{
"models/activity": {
"prototype": {
"record": "activity",
"map": {
"name": "title",
"company": "company",
"project": "formulatext:nvl2(nullif({company.internalid}, {custevent_nx_customer.internalid}), {company.internalid}, '')|",
"status": "status",
"priority": "priority",
"message": "message",
"type": "custevent_nx_task_type",
"customer": "custevent_nx_customer",
"asset": "custevent_nx_task_asset",
"address": "custevent_nx_address",
"latitude": "custevent_nx_latitude",
"longitude": "custevent_nx_longitude",
"timezone": "custevent_nx_time_zone",
"id": "internalid"
},
"defaults": {}
}
}
}
The following table describes the activity model's shared settings.
|
Property |
Purpose |
Standard Value |
|---|---|---|
|
|
Base activity record identity. |
|
|
|
Activity title. |
|
|
|
Company, FSM customer, and Asset relationships. |
|
|
|
Activity classification and details. |
|
|
|
Service location and time zone. |
|
|
|
Supplies default model attributes on creation. Additional application paths are described in this entry. |
|
The standard model recognizes both customers and projects in the Company field. It keeps the company, customer, project, and Asset relationships consistent. Project Task narrows the Company relationship to a project. Preserve these relationships when extending a derived model. For location geocoding configuration, see Configuring FSM Service Locations and Geocoding.
Activity defaults are applied during initialization and validation when a type or Asset is present. Non-Boolean defaults fill an empty model value. Boolean defaults can replace it. Use the record-specific entry when changing Task or Case defaults.