Questions tagged [fsl]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
11 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 ...
-1 votes
0 answers
15 views

Create a Line Chart with resource count over time

I have a number field on work order object called count of technicians, i also have start date and end date on work order object as well. When i try to create a line chart to plan the workforce needed,...
  • 1
-3 votes
0 answers
12 views

Need help with customizing layout in dispatcher console

How to edit the page layout used in the dispatcher console in FSL?
  • 1
0 votes
1 answer
32 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 ...
0 votes
0 answers
76 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 ...
  • 1
0 votes
0 answers
58 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": [ { ...
0 votes
1 answer
38 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 ...
0 votes
1 answer
48 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 ...
4 votes
1 answer
595 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....
  • 509
0 votes
0 answers
60 views

Service Appointment -Not Showing

I am quite new to FSL and currently handling an already made FSL deployment, I am only a Dispatcher/User only, our current problem is that a month ago when we Schedule the service appointment thru the ...
  • 1
0 votes
0 answers
89 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 ...
0 votes
1 answer
111 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?
1 vote
1 answer
340 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 ...
0 votes
1 answer
255 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?
  • 21
0 votes
0 answers
73 views

In FSL As a supervisor/dispatcher I need to be able to filter my view on the GANTT

In my FSL as a supervisor/dispatcher, need to filter the GANTT chart to view my service resources report to me. Is it possible in FSL?
0 votes
0 answers
27 views

Field Service Inventory Issue : QuantityOnHand standard field on Product Item object to make Read only for Profiles

We have requirement that we need to make QuantityOnHand field should not modified once PI record created. But our partner users are modifying it since there profile have edit access. This field is ...
  • 23
0 votes
1 answer
266 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 ...
  • 95
0 votes
0 answers
104 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 ...
  • 491
1 vote
0 answers
169 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 ...
0 votes
1 answer
222 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-...
  • 21
1 vote
1 answer
341 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 ...
0 votes
0 answers
237 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 ...
1 vote
1 answer
678 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 ...
  • 4,661
2 votes
0 answers
373 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
1 answer
501 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?
  • 87
1 vote
0 answers
463 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 ...
2 votes
0 answers
200 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 -> ...
  • 29
1 vote
1 answer
580 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 ...
  • 978
2 votes
1 answer
238 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": { "...
  • 509
0 votes
1 answer
494 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 '...
  • 1,290
1 vote
1 answer
328 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....