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
0 votes
1 answer
16 views

Cannot view Global Actions

The screenshot below is from a user that can only see 3 Global Actions. I have added a new Global Action: 'New Expenses' to the only publisher layout, and checked the publisher layout assignments. I ...
user avatar
  • 89
0 votes
0 answers
23 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 ...
user avatar
  • 35
0 votes
0 answers
13 views

Trigger when Service appointment is scheduled via Dispatcher Console

I would like to trigger an action (flow or APEX trigger) when Service Appointment is scheduled via Dispatcher console using drag-and-drop. The trigger shouldn't run when the Service Appointment is ...
user avatar
  • 441
0 votes
0 answers
20 views

FSL- Apex Sharing: Share WorkOrders with PlatformTeamMembers(Custom Object)

Platform Team Member is a Custom Object with Lookup to User. Not all Platform Team Members have a user. Platform Team Member is on the related List of Asset i.e Lookup(Asset). Whenever new Platform ...
user avatar
0 votes
0 answers
21 views

Salesforce Field Service google map alternative

Google Maps does not work in China hence to use field service app in china what alternatives available in china ? like Bing , Baidu.?
user avatar
0 votes
1 answer
57 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....
user avatar
0 votes
0 answers
6 views

Field Service - Service Resource - difficult to manage resources that are only a single person team on some days and 2 person teams on other days

Would really appreciate your help towards.Our requirement before was to pick Service Resource based on Priority so we managed to create Assist_Available custom field on SR where it sets the priority ...
user avatar
  • 1
0 votes
0 answers
50 views

Field Service Mobile List View

Is there any way to filter ProductItem records on FSL mobile app? I want to filter out records but there are no option in mobile app. Thanks in advance!
user avatar
0 votes
0 answers
73 views

Salesforce Field Service Lightning Override the Maximum days to get candidates or to book an appointment

I was wondering if anyone would know if there is a way to extend the search window for Maximum days to get candidates or to book an appointment in field service. We had a customer lightning component ...
user avatar
  • 1
1 vote
1 answer
46 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'...
user avatar
  • 293
1 vote
1 answer
19 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 ...
user avatar
0 votes
0 answers
12 views

How to constrain field service resources to enter Product Items while they take parts from Warehouse

Scope : To force field service resources to enter product items in a salesforce while they pick up parts from salesforce. Business Requirements : 1.) We are trying to implement field service inventory ...
user avatar
0 votes
0 answers
73 views

FSL Resource Scheduler Optimization OAAS resourceDayOptimization results in error

This question is related to FSL (Field Service Lightning) - Resource Schedule Optimization. I want to trigger Resource Schedule Optimization using Apex. As per documentation Class FSL.OAAS has method ...
user avatar
1 vote
0 answers
41 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 ...
user avatar
0 votes
0 answers
30 views

How do I get service appointments for each and every resource in work type ? (Field Service and Flows Concept)

The process works like this, I created a new field called as, “Number of Resources” in work order and I would like to get appointment for each resource. For example, if the user types Number of ...
user avatar
0 votes
0 answers
32 views

Field Service Lightning App Not Showing In Lightning App Builder

I'm doing an implementation that involves Field Service. I've created a record detail page in the Lightning App Builder that is intended to be shown inside the Field Service App. However, when trying ...
user avatar
0 votes
0 answers
30 views

Salesforce FSL App "ASSET SERVICE HISTORY" Offline records not showing

Salesforce FSL app Offline data visibility issue. I have done the FSL app Data Sync and after that, I am able to see the records in offline mode but ASSET SERVICE HISTORY records are not showing ...
user avatar
0 votes
0 answers
20 views

Standard Class to get all available slots for a Service Resource?

I'm searching on Developer Guides and I'm getting with several classes about Service Assignment, Service Resources... I see classes that, given a Service Appointment, search for slots for Service ...
user avatar
  • 155
0 votes
0 answers
78 views

Field Service Schedule/Dispatch not working in Developer Sandbox

Novice question - I'm trying to scheduler/dispatch Service Appointments to Service Resources, but it shows "No candidates were found" when I try in the dispatcher console. I've loaded ...
user avatar
  • 311
1 vote
1 answer
106 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 ...
user avatar
0 votes
0 answers
58 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 ...
user avatar
1 vote
0 answers
106 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: ...
user avatar
0 votes
0 answers
201 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 ...
user avatar
0 votes
0 answers
49 views

Salesforce FSL Cancel service api

we are implementing Self Service to book and Reschedule, Cancel appointment. we are able to book appointment using the FSL API am looking some help on Cancelling an booked appointment. Any pointer? ...
user avatar
  • 31
0 votes
0 answers
47 views

FSL Attempt to de-reference a null object in package

I'm working with FSL and trying to get the availabilities of my services ressources using apex. I'm using the code below // GENERATE the graded time slots for the service appointment FSL....
user avatar
0 votes
0 answers
37 views

fsl.query.executeSoqlQuery is not returing parent record fields in Mobile Extension Toolkit FSL mobile app

I am trying to get the Asset and Account name from the WorkOrder record for which I am using the fsl.query.executeSoqlQuery(). But the Account and Asset name is not returned in the response. But, ...
user avatar
0 votes
0 answers
428 views

An Apex error occurred: FSL.Exceptions.GeneralException: failed to get AB slots

I am getting this flow error,when I try to display the appointments of the available time slots in my flow. the type of my flow is : Embedded Appointment Management Flow I followed the following steps ...
user avatar
0 votes
1 answer
872 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 { @...
user avatar
0 votes
0 answers
108 views

Mobile Extension Toolkit doesn't show anything in FSL mobile app

I have created the Mobile Extension Toolkit. I have below a simple index.html file which is a direct root in zip file. Hello World!! ​document....
user avatar
2 votes
0 answers
214 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 ...
user avatar
0 votes
1 answer
242 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?
user avatar
  • 75
1 vote
0 answers
220 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 ...
user avatar
1 vote
1 answer
304 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 ...
user avatar
  • 622
1 vote
2 answers
455 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 ...
user avatar
1 vote
1 answer
418 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 ...
user avatar
  • 912
0 votes
0 answers
45 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/...
user avatar
1 vote
0 answers
96 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 ...
user avatar
  • 912
0 votes
1 answer
229 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 ...
user avatar
  • 1
0 votes
1 answer
322 views

In Field Service lightning, while fixing overlap "Leave on Gantt and set In-jeopardy" option is not marking the service appointment in jeopardy flag

In Field Service lightning, while fixing the overlap between service appointments , Leave on Gantt and set In-jeopardy option is not marking the service appointment in jeopardy flag, but the ...
user avatar
  • 108
3 votes
2 answers
674 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 ...
user avatar
  • 2,232
1 vote
1 answer
2k 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 ...
user avatar
0 votes
1 answer
179 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 ...
user avatar
  • 58
1 vote
0 answers
555 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 ...
user avatar
  • 187
1 vote
0 answers
120 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/...
user avatar
0 votes
2 answers
601 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 ...
user avatar
  • 58
1 vote
1 answer
4k 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 ...
user avatar
0 votes
1 answer
901 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 ...
user avatar
1 vote
0 answers
430 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". ...
user avatar
  • 11
0 votes
1 answer
851 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>&...
user avatar
1 vote
0 answers
646 views

Not seeing all fields in Rename Tabs and Labels

We are working on FSL. We need to rename the field label for Location to something else in Work Order. I went to Rename Tabs and Labels in Setup but not able to see Location in the field list to ...
user avatar