---
schema_version: "1"
id: c2ad12247bf19841118aa261f55bf2c0f4606f1f6feda79df1f42fb18c3ccc3c
title: WorkOrder Custom Fields
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/field-service-dev/guides/field-service/source-files/objects/fsl-custom-fields-object-workorder.md
canonical_url: https://developer.salesforce.com/docs/service/field-service-dev/guide/fsl-custom-fields-object-workorder.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: bb29af0d314158192c119cba742d139ad8a1db1df99daadac9aa2e230a20c262
products:
  - Field Service Developer Guide
  - Service Cloud Developer Content
---

# WorkOrder Custom Fields

Custom fields associated with field service work to be performed for a customer.

The standard fields are documented in the [WorkOrder](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_workorder.htm) object reference.

## Supported Calls

`create()`, `delete()`, `describeLayout()`, `describeSObjects()`, `getDeleted()`, `getUpdated()`, `query()`, `retrieve()`, `search()`, `undelete()`, `update()`, `upsert()`

## Special Access Rules

Field Service managed package must be installed.

**See Also**  


-   [Salesforce Object Reference: WorkOrder](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_workorder.htm)
-   [Salesforce Help: Fill Schedule Gaps](https://help.salesforce.com/articleView?id=service.pfs_fill_schedule.htm&type=5)
-   [Salesforce Help: Schedule Appointments Using Priorities](https://help.salesforce.com/articleView?id=service.pfs_scheduling_priority.htm&type=5)
-   [Salesforce Help: Work Rule Type: Service Appointment Visiting Hours](https://help.salesforce.com/s/articleView?id=service.pfs_optimization_theory_work_rules_visiting_hours.htm&type=5)

## Fields

### FSL__IsFillInCandidate__c

-   **Type**: boolean
-   **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
-   **Description**: Determines if this work order is considered as a candidate when filling in a schedule with the Fill-In Schedule feature. If a service appointment’s parent record is a work order, this field must also be set to true for the appointment to be a candidate. Alternatively, you can create a custom checkbox field through the Field Service Settings page, instead of using this field, to evaluate whether this appointment is considered as a candidate. The custom checkbox field includes formula fields.

    For more info, view the [Fill Schedule Gaps](https://help.salesforce.com/articleView?id=service.pfs_fill_schedule.htm&type=5) Help article.

-   **Default value**: `true`

### FSL__Prevent_Geocoding_For_Chatter_Actions__c

-   **Type**: boolean
-   **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
-   **Description**: Determines if the work order’s BeforeUpdate trigger disables the Chatter Action’s geolocation cleanup on address change. This field is set to `false` after the cleanup completes.
-   **Default value**: `false`

### FSL__Scheduling_Priority__c

-   **Type**: double
-   **Properties**: Filter, Nillable, Sort
-   **Description**: The work order priority. The lower the value, the higher the priority.

    For more info, view the [Schedule Appointments Using Priorities](https://help.salesforce.com/articleView?id=service.pfs_scheduling_priority.htm&type=5) Help article.

    This is a calculated field.

-   **Formula**:

    ```nolang
    CASE(TEXT(Priority), 'Critical' , 1 ,
    'High' ,2,'Medium' ,3 , 
    'Low', 4, null)
    ```


### FSL__VisitingHours__c

-   **Type**: reference
-   **Properties**: Create, Filter, Group, Nillable, Sort, Update
-   **Description**: The visiting hours that define when service appointments associated with the work order can be scheduled. The visiting hours are enforced as long as the Visiting Hours work rule complies with the scheduling policy. Visiting hours are enforced only if the Visiting Hours work rule is part of the scheduling policy.

    For more info, view the [Work Rule Type: Service Appointment Visiting Hours](https://help.salesforce.com/s/articleView?id=service.pfs_optimization_theory_work_rules_visiting_hours.htm&type=5) Help article.

    This is a relationship field.

-   **Relationship Name**: FSL__VisitingHours__r
-   **Relationship Type**: Lookup
-   **Refers To**: OperatingHours

