Questions tagged [field-service-lightning]

Field Service Lightning is a powerful, customizable set of features that you can use to set up a mobile-friendly field service hub in Salesforce. It includes the objects involved in inventory management and work scheduling, such as Asset, Service Resources, Territories, Service Appointment, and Work Order. Also included are the managed package which performs scheduling optimization and related tasks and the iOS and Android mobile apps.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
16 views

Schedule Service Appointments in a specific Order, without Bundle

I have a Field Service question (I'm new). I would like to know if there is a way to schedule Service Appointments in Gantt, according to the following rules, in a specific Order (without using Bundle)...
user97871's user avatar
0 votes
0 answers
41 views

Task creation from QuickAction giving error when I'm pre-defining 'assign to' value using formula and also app is closing in FSL app

I am trying to create a task from Work Order using Quick Action where Task will be assigned to the Supervisor of the Technician who's creating the task. I am pre-defining 'Assigned to' value in Quick ...
Agnibha's user avatar
  • 59
0 votes
0 answers
53 views

Does the File Uploading Custom Components works for FSL mobile app?

I have created a Lightning Web Component (LWC) that successfully converts multiple images into a single PDF in my developer org. However, when I try to use the same LWC component in my Field Service ...
Deepan Chakaravarthy's user avatar
0 votes
1 answer
40 views

Salesforce FieldService - Define template for subject of auto-generated WorkOrders

In Salesforce FieldService, I recently migrated my MaintenancePlans from using frequency fields (FF) (frequency and frequency type) to using MaintenanceWorkRules for auto-generating my maintenance ...
HeXor's user avatar
  • 215
-1 votes
1 answer
62 views

Remove "Match Gantt Dates "- FSL

I want to hide this but I am not able to find the exact custom permission for this. Please help me out
Aditya Kumar Kannaujia's user avatar
0 votes
0 answers
48 views

Test Service Report Creation

I made a trigger on Service Report and I'm trying to write a test class for it, but I get this error every time I try to insert a Service Report in a test function or my makeData function: System....
Rostyslav Popov's user avatar
0 votes
0 answers
185 views

Field Service Booking an Appointment Error

I am having problem booking an appointment using Salesforce FSL managed package in a sandbox environment. I login as user with the agent permission set and license assigned and I tried booking an ...
Dabidee's user avatar
0 votes
0 answers
173 views

Appointment Assistant Setup - FSL

I'm currently attempting to complete the Field Service Settings setup. The section on Appointment Assistance is visible along with the fields even though the package is not installed. I don't seem to ...
Dragos Zelezneac's user avatar
0 votes
0 answers
90 views

Using Field Service lightning objects in a custom application

I have to build a time-tracking application on salesforce. The customer already uses service cloud and intends to implement Field service lightning soon. Idea is to have this time tracking feature for ...
V S's user avatar
  • 56
0 votes
0 answers
290 views

Error while installing Field Service Appointment Assistant

I am trying to install Field Service Appointment Assistant from this link but I am always getting this below error Your request to install package "Field Service Appointment Assistant Spring '23&...
SFDC buddy's user avatar
0 votes
0 answers
208 views

Missing Service Resource in FSL map

I have a resource which is showing up on the FSL Gantt chart but I can't see her in the FSL map. I have checked and the resource is assigned to the respective territory, they have geolocation data as ...
Mauricio Ramos's user avatar
0 votes
1 answer
139 views

How to enable ServiceAppointmentGroup in salesforce?

How to enable ServiceAppointmentGroup in salesforce. Is it part of Health cloud or Field service lightning? Do we need to contact salesforce to enable this in sandbox, it is available in production. ...
RaJu's user avatar
  • 361
0 votes
1 answer
145 views

Getting an error as 'This product is already required on the parent record. while creating a Product Required Record

I'm inserting a Product Required record via a flow and I'm getting an error saying "This product is already required on the parent record". There's no validation rules existing for this ...
Prasad Ruwanpathirana's user avatar
0 votes
1 answer
311 views

FSL Service Appointment Schedule more than 2 records in dependent mode (Same Start)

I have following requirement: "As an dispatcher agent I want to schedule up to 3 or more Service Appoitments for the same time to different Service Resources." In Field Service Lightning we ...
Marcin Frank's user avatar
0 votes
1 answer
352 views

Remove 'Reshuffle' button in GANTT- FSL

I want to remove reshuffle, Schedule buttons from GANTT display: I can't find any option sin field service admin settings. Can someone help on this?
Prathyusha's user avatar
1 vote
1 answer
1k views

Using FSL.AppointmentBookingService.GetSlots() method in Unit Tests

I'm trying to verify the validity of my endpoint that is using FSL.AppointmentBookingService.GetSlots() method in Unit Tests. No matter what data I'm preparing method is always returning me an empty ...
Filip Osiński's user avatar
0 votes
1 answer
184 views

Field is not writeable: SkillRequirement.RelatedRecordId

I created Apex Trigger to check if SkillRequirement on Work Order and related Work Type are same or different if some field is changed on Work Order. Sometimes SkillRequirement on WorkType has been ...
mkzyk's user avatar
  • 55
0 votes
3 answers
470 views

Field Service Mobile Application

I am trying to add a lightning component in Field Service Mobile app using Global action. I've added a global action using my custom lightning component. And then added that action in Publisher ...
ali azam's user avatar
0 votes
1 answer
619 views

How to debug field service lightning flow via Debug

I checked most of the FSL resource to find how to debug a Field Service flow, but couldn't find anything. Is there simple way to debug FSL flow?
harnish's user avatar
  • 21
1 vote
1 answer
2k views

Validation rule on parent object that checks a field on the child for duplicates

I'm working on a validation rule for field service and I'm wondering if this is possible. We have the Product Request parent object, and the Product Request Line Item child object. There is a field ...
Sarah's user avatar
  • 11
0 votes
1 answer
702 views

Field Service Mobile App - Cannot update Global Actions

UPDATE: The screenshot below is from the Field Service Mobile App. Not the standard Salesforce App. Is the Field Service Mobile App limited in terms of editing Global Actions? When editing the ...
h3110's user avatar
  • 77
0 votes
1 answer
2k views

Salesforce Field Service Lightning > Service Appointment is not appearing on the Mobile App

Service resource 'Jane Cando' have been assigned a service appointment with a parent WO. The service appointment is being displayed in the Gannt chart and scheduled for 20-June-2022. When I login with ...
Umer's user avatar
  • 35
0 votes
1 answer
806 views

Formula Fields with Images in the Field Service Mobile App

I am trying to get images to appear in my formula field as described in this article in the Salesforce Field Service Mobile App: https://help.salesforce.com/s/articleView?id=sf....
Ian Fitzpatrick's user avatar
1 vote
1 answer
153 views

How to create Field Service Lighting permission sets via SFDX

I'm strugging with the Field Service Lightning and how it blends with the SFDX story Our business analyst is already cooking up a storm in a sandbox where she has FSL all working and configured.. so I'...
bkwdesign's user avatar
  • 551
1 vote
1 answer
95 views

How to connect Candidate(FLS) button to specific account record type?

In my org we have a few account record types. The button Candidates(positioned as action on account layout) works perfectly for just one record type and I want it to work with other ones too(I am ...
Vesna Vesnic's user avatar
1 vote
0 answers
89 views

Layout of Flow launched from Visualforce

I configured a resource action in the "Dispatcher Console UI" of Field Service Admin; the action is of type Visualforce and the latter starts a flow approximately like this: <apex:page ...
Felix van Hove's user avatar
2 votes
2 answers
527 views

How to deploy STATUS TRANSITIONS under Service Appointment Life Cycle from one sandbox to another sandbox/production?

I am trying to find the metadata/data through which I can deploy STATUS TRANSITIONS under Service Appointment Life Cycle? is there any way via which I can migrate it or will I have to replicate it ...
Chirag Jain's user avatar
1 vote
0 answers
256 views

Custom label or translation in custom action in field service dispatcher console

is possible to translate or use custom labels in "Custom actions" of the Field Service Dispatcher Console UI? There is a workaround to avoid the unique single language? The field is ...
Willian Matheus's user avatar
1 vote
0 answers
428 views

What is the syntax for the Field Service Mobile App Extension config of Launch Value for a Lightning App Tab?

I want to open a Lightning App Tab in Salesforce Mobile from the Field Service Mobile app. I created an App Extension in my Field Service Mobile settings. I configured the extension like this: Type: ...
JamesPrevallet's user avatar
0 votes
0 answers
487 views

Lightning Scheduler - Review Service Appointment Screen Issue

"Parent Record" field display blank value in Review Service Appointment screen (Salesforce Lightning Scheduler). Below are the steps: Added flow (Outbound New Appointment) action in Work ...
sfdckoks's user avatar
0 votes
1 answer
3k views

System.JSONException: Type cannot be serialized (Can't Serialize getSlots results into a JSON string)

Can't Serialize getSlots results into a JSON string and i get this error 'System.JSONException: Type cannot be serialized' ! please help ! This is my code : public class BookingServiceFslFlow { @...
Adil ProWebMaster's user avatar
2 votes
0 answers
596 views

In Apex, check if coordinate is in polygon without using Field Service API

I use FSL.PolygonUtils from Field service package, to check if a latitude/longitude is within a service territory. I want to separate my territories with record types. The problem is that API doesn't ...
krishnaSF's user avatar
0 votes
1 answer
825 views

Field Service Lightning Data Sync Issue

Please help me out. I am getting this error(mentioned in image below) on Field Service Lightning Mobile App. What could be the reason?
SF Dev's user avatar
  • 89
1 vote
0 answers
748 views

FSL: Unable to retrieve slots using GetABSlots (AppointmentBookingService)

I'm trying to use the getABSlots method of the AppointmentBookingService class, after setting up the "complex work" of service appointments in our field service settings. This is how our ...
Lucas Calegari's user avatar
1 vote
1 answer
628 views

Getting available time slots in Lightning Scheduler

When creating a Service Appointment in Lightning Scheduler there is no standard validation to prevent from booking a Service Resource multiple times during the same time slot. How can we get available ...
Jordan's user avatar
  • 682
1 vote
2 answers
981 views

What is the difference between Schedule and Optimize in Dispatcher Console in Field Service Lightning?

In the Field Service Dispatcher Console, there seems to be two ways in which we can ask the platform to schedule Service Appointments. The first is the Schedule button and the second is the Optimize ...
Dave Smith's user avatar
1 vote
1 answer
799 views

FSL : Not able to Search Product field in Quick action from flow

BackGround I am facing a weird issue related to quick action and flow, I have created FSL Mobile flow, and inside the flow, I am using quick action, which is creating Work Order Line Record, in Quick ...
Sarvesh's user avatar
  • 998
0 votes
0 answers
217 views

How can I test functionality that only exists as a REST API call?

The only way to create a Service Report programmatically in Field Service is to call out via REST to the Actions API (see https://developer.salesforce.com/docs/atlas.en-us.field_service_dev.meta/...
Rob Cowell's user avatar
1 vote
0 answers
233 views

FSL - Select Files Button Not Working for Multiple Photo Upload on IOS device as a part of Screen File Upload compoent

I am using FSL Mobile Flow, to upload multiple files but in IOS Device I have facing an issue with the 'Select File' Button it's not taking photos from a file manager, the screen gets loading every ...
Sarvesh's user avatar
  • 998
0 votes
1 answer
351 views

/services/data/v46.0/scheduling giving error: Service not found at: /services/data/v46.0/scheduling

When I try to call the URI: /services/data/v46.0/scheduling from workbench, I am getting the below error: [ { "errorCode" : "NOT_FOUND", "message" : "The ...
Zee S's user avatar
  • 1
5 votes
2 answers
1k views

2GP Extension Package With Dependencies on External Packages

I need to create an AppExchange Package (extension to Health Cloud), which has dependencies on the Health Cloud package. As per documentation/community, 2GP is the recommended way to package new ...
Ashish's user avatar
  • 2,362
1 vote
1 answer
3k views

How to Deeplink FSL mobile App and Salesforce App

I have been struggling a bit to find the right documentation to accomplish a seemingly easy task. Deeplinking: FSL App to Salesforce App Now for starters, I have found a very easy way to deep link the ...
Ryan Schmitt's user avatar
0 votes
1 answer
408 views

Where is the settings under Field Service Settings (FSL__Master_Settings) stored

I need to extract the settings under the tab Field Service Settings to back them up, for example in GitHub, and to migrate settings between orgs. Tried to look for them in custom settings, custom ...
Carl's user avatar
  • 58
1 vote
0 answers
975 views

Standard Field not available for Roll-up Summary

I am creating a series of Roll-up Summaries on the standard WorkOrder Object, summarizing the standard TotalPrice field on the WorkOrderLineItem Object. However, this field does not appear on the ...
DC-Fencer's user avatar
  • 197
1 vote
0 answers
224 views

Insert Work Orders with randomized Latitude and Longitude Values for testing bulk scheduling in Field Service Lightning (FSL)

This code is supposed to insert 50 work orders with randomized geolocations. It's meant to create enough records of sample data to set the stage for demonstrating the power of bulk-scheduling/...
Christopher Ryan's user avatar
0 votes
2 answers
858 views

How to get Field Service Dispatcher/Resource license in scratch org

We need "Field Service Dispatcher", "Field Service Mobile" and "Field Service Scheduling" license in scratch org in order to utilize the FSL managed package. We have tried to install the FSL managed ...
Carl's user avatar
  • 58
2 votes
1 answer
8k views

Service resource not appearing on Gantt chart in Field service lightning

So as title suggests i am not able to see Service resources in the gantt chart in FSL,although There is no filter applied in resources filter section. Service resources are having matching territory ...
Deepak Agarwal's user avatar
0 votes
1 answer
2k views

Optimization in FSL throwing Not Authorized error

I have FSL Admin Permissions, FSL Dispatcher License and FSL Dispatcher Permissions assigned to myself( System Admin). On trying to optimize from Dispatcher Console (by clicking optimize from the ...
starhunter's user avatar
1 vote
0 answers
771 views

Not Able see Service Appointment on FSL Mobile App

I have installed FSL mobile app and configured it. But when i login in, am not able to see any service appointment..It says "Looking good.There are no Service Appointment assigned to you for Today". ...
SFDEV's user avatar
  • 11
0 votes
1 answer
2k views

Not able to create Service Resource

I a trying to create a service resource by putting resource type as Technician in a test class. Like below: List<Map<String, Object>> paramsList = new List<Map<String, Object>&...
वरुण's user avatar