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
0answers
8 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 ...
0
votes
0answers
7 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 ...
0
votes
0answers
6 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 ...
1
vote
0answers
17 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 ...
0
votes
0answers
21 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 ...
1
vote
0answers
37 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: ...
0
votes
0answers
128 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 ...
0
votes
0answers
29 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? ...
0
votes
0answers
25 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....
0
votes
0answers
24 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, ...
0
votes
0answers
308 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 ...
0
votes
1answer
179 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 { @...
0
votes
0answers
80 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....
1
vote
0answers
97 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 ...
0
votes
0answers
23 views

How to pause field service mobile flow?

I want to the field service app user to be able to comeback to the flow whenever he has new information, instead of forcing him to go through the entire flow, but there is no pause on screen element ...
0
votes
0answers
10 views

Can you inactivate or hide FSL scheduling policies so they aren't options for dispatchers or the optimizer?

I have too many scheduling policies. I want to simplify the naming convention to align to our business model and remove some that we don't want to use any longer. I don't see an easy way to do that. ...
0
votes
1answer
150 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?
1
vote
0answers
119 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 ...
0
votes
0answers
74 views

Test Class Method issue with Dispatcher Console Bulk Custom Action

I have created a Assigned Custom Action on Dispatcher Console. Follwing is my code. global class AssignServiceAppointmentsGFS implements FSL.CustomGanttServiceAppointmentAction { global String ...
1
vote
1answer
171 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 ...
0
votes
0answers
55 views

Track Technician Location - FSL

I have a requirement where I want to update the Service Appointment Status automatically when the technician reaches the customer location. Though we have created an action to update the On-site ...
1
vote
2answers
325 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 ...
1
vote
1answer
299 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 ...
0
votes
0answers
38 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/...
0
votes
0answers
40 views

Trigger Flow or Process Builder when Service Resource arrives at location?

Is there a way to trigger a Lightning Flow or Process Builder when a Service Resource gets physically close (i.e. crosses a Geofence) to a client's service location? I would like to have the Service ...
1
vote
0answers
55 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 ...
0
votes
1answer
178 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 ...
0
votes
1answer
197 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 ...
3
votes
2answers
479 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 ...
1
vote
1answer
1k 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 ...
0
votes
1answer
145 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 ...
1
vote
0answers
432 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 ...
1
vote
0answers
109 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/...
0
votes
2answers
513 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 ...
1
vote
1answer
3k 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 ...
0
votes
1answer
659 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 ...
1
vote
0answers
360 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". ...
0
votes
1answer
635 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>&...
1
vote
0answers
510 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 ...
1
vote
0answers
673 views

Auto Generation of Work Orders from Maintenance Plans Failing

We are trying to get auto generation of Work Orders and Service Appointments working, however when we try to generate Work Orders with the following generation types it always fails: Work Order ...
0
votes
1answer
111 views

How to unhide Integrity Checker within Field Service Lightning

I am looking to use the Integrity Checker feature from Field Service Lightning but I cannot seem to locate it under Field Service Settings. I did find a statement within the release notes back in ...
1
vote
1answer
166 views

Field Service Lightning Mobile App - Pushing Data during Maintenance Window

Our instance is having scheduled maintenance performed in the next few months that will render our data Read Only for 1 hour. We have Service Resources updating Work Orders and Service Appointments ...
1
vote
1answer
373 views

Creating Service Resource with Asset record type

We are trying to create Service Resource with Asset record type. But getting the following error: Found something here: We tried giving Lightning Scheduler permission by follwoing Manage ...
1
vote
1answer
552 views

Give create permission to Work Order Line Item

I am creating a permission set. Need to give Create permission to the Work Order Line Item. Usually, I see the below section for the object, to give Create, Read, Edit and Delete access: But not ...
0
votes
0answers
253 views

Field Service Lightning Issue

I am working on Field Service Lightning and facing some issue. When a Service Appointment is assigned to a Service Resource(User) that Service Appointment should be visible to Service Resource in FSL ...
1
vote
2answers
849 views

Auto Launched flow running in User mode

We have an auto launched flow which whenever a work order is rejected by a tech, it auto-dispatches work order to another available tech. We're calling the auto launched flow through a process builder ...
1
vote
0answers
34 views

NO_APPLICABLE_PROCESS while submitting approval for time sheet entry [duplicate]

I have an approval process for timesheet entry: I have a timesheet entry which is fulfilling criteria for the approval process. The approval process is in active state. I am doing something like ...
3
votes
2answers
394 views

SDLC with data-dependent applications (CPQ and FSL)

I'm looking for best practices for a SDLC workflow given the following scenario: Team consists of a mix of point-and-click admins and developers Project is based around CPQ or FSL where data is used ...
0
votes
1answer
175 views

Not able to find Service Analytics Admin permission set

I am trying to create App in Einstein with Field Service Analytics template. To do the above I am following this. I need to provide below permission sets to the Integration User: Service Analytics ...
1
vote
0answers
64 views

In Field Service Lightning, what can a normal Service Cloud user do?

We're considering using Field Service Lightning for a customer who needs to perform jobs like tracking the maintenance of their assets. In our scenario, the customer has lots of assets, but a ...