Questions tagged [fsl]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
42 views

How to call a method that makes DML and after that another method to get data and cache it

I have a LWC component, I want to get data of page-layout assigned to user's profile and the fields in the layout. For custom profiles they won't have 'View setup' permission which is needed to get ...
Man0har1919's user avatar
-1 votes
0 answers
26 views

Customize signature capture message Field service mobile app

In the field service mobile app, when the technician capture the customer signature, the confirmation message says "All signatures collected" even one signature captures. My customer wants ...
Dinesh Wickramasinghe's user avatar
0 votes
1 answer
28 views

How can I create 2GP package version including FSL permissions

I'm using FSL Dispatcher Permissions and FSL Dispatcher License in test class for a scenario to cover code in my apex class. It worked fine when running the test class. But when doing a package ...
Man0har1919'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
-1 votes
1 answer
67 views

Not Able to Add Quote Line Items in Field Service Lightning App

I created a Quote in Field Service Mobile App and trying to add quote line items but getting following screen. Can anyone suggest what can be possible issue and solution. In desktop mode there is Add ...
Nachiket Deshpande's user avatar
0 votes
0 answers
25 views

Option to debug Field Service Mobile App in Chrome

Is there any option available to debug FSL App in Chrome or any other browser console. Please advise.
Nachiket Deshpande's user avatar
-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
104 views

Assigned Resource and Service Appointment in Field Service Lightning

I am trying to get text messages from Appointment Assistance. I have a query does status in Service Appointment when changed to 'EnRoute' or 'Last Mile' Will it will automatically changes the ...
Felix Kjellberg's user avatar
0 votes
0 answers
53 views

AppointmentType field is not available in Serviceappointment object

We are working on FSL cloud and in that under service appointment object we were not able to see the AppointmentType standard field. The strange thing is its available in one sand box but not coming ...
SFDC buddy's user avatar
0 votes
0 answers
176 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
285 views

Certain related lists are not displaying on Field Service mobile app

Certain related lists are not displaying on the Field Service mobile app. When I access an Asset - Work Orders & Cases related lists do not show When accessing an Account - Work Orders, Cases, &...
Lorcan O'Regan's user avatar
0 votes
0 answers
22 views

Dupliacte Appointment Numbers while testing

I have a problem with duplicated Service Appointment numbers. Context: I have a function which return time slots for service appointment: public static Set<Date> getSlotsForAppointment(String ...
zgooner's user avatar
1 vote
1 answer
308 views

Adding images to Service Report in FSL

Has anyone been able to add a multiple images to the Service Report/Template? if anyone has any approaches please share.
Nick's user avatar
  • 6,934
0 votes
2 answers
208 views

Modify appointment in Self-Service Scheduling Flow

By following this article I scheduled an appoinment for a contact using Self-Service Scheduling Flow. But I am not able to cancel the appointment or modify the appointment. In the same article there ...
SFDC buddy's user avatar
0 votes
1 answer
355 views

Dynamically show fields based on user on standard record page for FSL object eg. Service Appointment

How can we dynamically show fields based on user on standard record page for FSL object eg. Service Appointment. I am having a requirement where I need to dynamically show fields and section based on ...
darkshadowrule's user avatar
0 votes
0 answers
352 views

Test class and code coverage for FSL ServiceAppointment

I have below class for which I am writing test class. global class FSL_ScheduleSABatch implements Schedulable, Database.Batchable<sObject>, Database.AllowsCallouts, Database.Stateful { global ...
Ravi's user avatar
  • 1
0 votes
0 answers
124 views

Apex Insert Date time as it is

Inorder to book appointment in FSL I am reading the available time slots for the service resource using getAppointment REST API and here is the response from API { "candidates": [ { ...
SFDC buddy's user avatar
0 votes
1 answer
226 views

Firing a Record triggered flow on the Service Appointment object on latest work order status change

I have a record triggered flow on the Service Appointment object and runs when a Service Appointment is created or modified on some fields like status, AppointmentType, ParentRecordType, Subject. The ...
Strong Like Bull's user avatar
0 votes
1 answer
151 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
4 votes
1 answer
1k views

Illegal assignment from List<Location> to List<System.Location>

Here's the SOQL I'm trying to run in my anonymous window, against the standard object: List<Location> locs = [SELECT Id, Name FROM Location LIMIT 2]; for(Location l : locs) { System.debug(l....
bkwdesign's user avatar
  • 551
0 votes
1 answer
315 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
353 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
627 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
0 votes
1 answer
705 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
1 vote
0 answers
260 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
0 votes
1 answer
426 views

Page layout displaying fields that are not available in object

I using FSL for our project. On the Shift object page layout, I can see two extra fields: Territory Start Time (GMT) and Territory End Time (GMT). See the image below: However, when I go to the Setup-...
MShal's user avatar
  • 31
1 vote
1 answer
669 views

Can you retrieve travel time for a Service Appointment in Apex?

Apologies, this is a hard one to present any code for, since I don't know where to start and the Salesforce documentation does not appear to give any kind of answer to this. When a ServiceAppointment ...
Rob Baillie's user avatar
0 votes
0 answers
320 views

FSL Trigger Exceeding Apex CPU Time Limit

I am attempting to integrate Salesforce using some middleware.  What the integration does it take an Excel sheet, and from that sheet create a Work Order, Service Appointment and Assigned Resource ...
callum202's user avatar
1 vote
1 answer
1k views

Adding an FSL flow based quick Action on FSL Mobile App

I have quick action on Work Order Object. This quick action is a type of Field Service Mobile Flow - https://help.salesforce.com/articleView?id=sf.mfs_flow_build.htm&type=5 I have added it to the ...
SfdcBat's user avatar
  • 4,761
2 votes
0 answers
603 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
831 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
751 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
2 votes
0 answers
288 views

How can I change the default value for the 'assigned to' a speicifc value in the ' Queue'?

The default value of the 'Assign to' should be a particular 'x' value in the Queue. In this way the user will no longer have to click the down arrow next to 'Assign to' -> Select Queues -> ...
otiliad's user avatar
  • 29
1 vote
1 answer
800 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
2 votes
1 answer
307 views

Errors I get when I use sfdx to install Field Service Lightning in a scratch org

I've followed the guidance from this answer — using this in my project-scratch-def.json: { "features": ["FieldService:1"], "settings": { "...
bkwdesign's user avatar
  • 551
0 votes
2 answers
883 views

Flows: File Upload component, associating with multiple Ids

We have a flow to be used in a Field Service Mobile App where we have a screen with file upload component. To associate the files with, we are providing {!Id} of the Service Appointment, under '...
nica's user avatar
  • 1,350
1 vote
1 answer
362 views

Lightning Out/Appointment Scheduling CORB issue

I have an FSL scheduling flow that is on a public community page, and am trying to expose it on an external site via lightning out (https://help.salesforce.com/articleView?id=ls_expose_flow_on_website....
Matt Bratton's user avatar