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
9
votes
2answers
837 views

Activate Field Service Lightning feature in a Salesforce DX scratch org?

I am struggling to figure out how to -- or if it's even possible to -- create a DX scratch org with the "Field Service Lightning" (FSL) feature installed. Based on the feature list here I'm guessing ...
5
votes
2answers
1k views

Can't work with Location object in FSL

With Field Service Lightning, a Location object was added. When we try to work with this object it's always saying that we are referencing the System.Location object. How can I reference the Location ...
3
votes
2answers
298 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 ...
3
votes
2answers
2k views

FSL Service Appointment Test class

I have a problem with Field Service Lightning managed package in my test class. Context: I have done the next things: Create a Lightning Component and a Apex Controller to change the service ...
3
votes
2answers
412 views

In Field Service Lightning Test Class on ServiceReport throws Methods defined as TestMethod do not support Web service callouts

In Field Service Lightning I have a Trigger on ServiceReport which sends an email with attachment coming from ContentVersion. This is the Test class I have written. @isTest private class ...
3
votes
2answers
73 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 ...
3
votes
1answer
3k views

Can't add certain fields to field set

I'm working with a client org that uses the Field Service Lightning managed package. FSL includes a few fieldsets we can edit in order to make sure certain fields show on certain pages. The FSL ...
3
votes
1answer
3k views

Open aura:application from link on Salesforce1

I am building a Lightning application as this: <aura:application description="AppDescription" implements="force:appHostable" extends="force:slds" > <...
2
votes
1answer
243 views

ServiceAppointment sObject Type not supported in Java Script Button

ServiceAppointment is a Standard object when you enable Field Service settings. I used the below code in Java Script Button. {!REQUIRESCRIPT("/soap/ajax/29.0/connection.js")} {!REQUIRESCRIPT("/soap/...
2
votes
2answers
914 views

Field Service Lightning Managed Packages

I am trying to implement FSL in my developer edition and I could not find the URL to install Managed packages for both Base and Lightning Package. Can someone help me on that?
2
votes
1answer
353 views

How to deploy Scheduling Policies in FSL from one environment to another?

I have created Scheduling Policy in my sandbox for FSL. How do I deploy it from Dev Sandbox to Integration sandbox and then to Staging and finally to Production? Is it a manual change or can we do it ...
2
votes
0answers
97 views

Field Service Lightning to track location and to auto change the status of the schedule appointment to Done

A user goes to a scheduled appointment. He changes the status to arrived. When the user leaves the location, track his location and when they leave the location - auto change the status of the ...
2
votes
1answer
483 views

Field Service Lightning in Winter '17

I see that in Winter '17, a number of standard field service objects are added that replicate the functionality of the custom objects in Field Service Lightning's managed package. At this time I have ...
1
vote
1answer
207 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 ...
1
vote
2answers
2k views

Enable Field Service lightning

I can just enable work order object under Setup --> Field Service Settings but not all objects that comes with Field Service lightning. We got Service cloud license in our org.Do I still need to ...
1
vote
1answer
98 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
196 views

While offline in the Field Service Lightning mobile app, how can I determine if a record has been deleted?

When a record is deleted while offline, how can I filter it out of subsequent Get Record flow elements? Our most common use case for deleting records is removing Product Consumed records via the ...
1
vote
1answer
543 views

Lightning Component - Detect Data Change from Another Source

I've built a lightning component that receives a ServiceAppointment (Field Service Lightning) record from a parent component, and leveraging this component to face a VisualForce page via an <iframe&...
1
vote
1answer
126 views

FSL App Action Layout [closed]

Is it possible, if Radio Button is checked then a Text Field required? We have 3 travel types, Car, Carsharing and public transport, if Car is checked the field "Mileage Start" must be required. Is ...
1
vote
2answers
1k views

How can I edit Service Appointments via Field Service Lightning Mobile App?

Recently I've implemented Field Service Lightning into my workforce. Sadly I've come up with an unexpected blocker. My technicians can't edit the Service Appointments via mobile app that have been ...
1
vote
0answers
100 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
50 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/...
1
vote
0answers
208 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
289 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 ...
1
vote
0answers
26 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 ...
1
vote
0answers
36 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 ...
1
vote
1answer
597 views

Flow failing in Field Service Lightning Mobile App but not when run in Browser

I have a flow that is setup to be ran through the Field Service Mobile app. Recently I have made some updates to it, specifically having two fields that are set by the flow be set by formulas instead ...
1
vote
0answers
90 views

FSL mobile app screen elements visibility based on a criteria

We are implementing Field service Lightning. We have a requirement in our FSL mobile flow that on screen elements (text variables) should only be displayed if certain fields are checked which is ...
1
vote
0answers
430 views

Available edits to Work Order Overview FSL mobile

I am attempting to make edits to what Salesforce refers to as the "work order carousel" on FSL mobile. Particularly the Work Order Overview layout. I would like to edit the Service Appointment card ...
1
vote
0answers
169 views

Invocable method giving error in FSL flow mobile

I created a flow using Flow designer and it is a FSL mobile flow. Here I basically uploading a file and then using the same for Einstein Prediction and here is how I'm doing. Upload file using ...
1
vote
0answers
127 views

Lock Service Appointments in Gantt (Field Service)

does anybody know if there is some possibility (e.g. permission set) to lock the gantt diagram in the FS for a specific user? There is this possibility to lock/unlock the whole gantt but the problem ...
1
vote
0answers
30 views

EndDate and StartDate on Canceled WorkOrders

WorkOrders have a set of standard fields called StartDate and EndDate. According to the SOAP API documentation, they are defined as such: StartDate: The date when the work order goes into effect. ...
1
vote
1answer
2k views

Why am I unable to delete a Service Resource record?

I am trying to delete a Service Resource record but there is no delete button anywhere. Whether I have the record selected, or click the drop down menu next to it, or look in the quick actions / ...
1
vote
0answers
58 views

How do I get to use Work Order Status Object in FSL?

I have got FSL enabled in of my Sandboxes and I would like to explore and use "Work Order Status and Work Order Line Status" objects. However, I don't seem to find these in the environment. Would like ...
1
vote
1answer
977 views

Service Appointment on fsl mobile not show on some device

When I create Service Appointment cempleted, The Service Appointment can show on field service lightning app(fsl mobile), When I test on Iphone6s+ it's show in app, But when I test on IPhone7 and ...
1
vote
0answers
65 views

Field service lightning [closed]

I am researching on Field service lightning and i have some questions on it. 1)is FSL available in sales cloud? 2)is it necessary to install FSL managed package?
1
vote
0answers
308 views

“Enable Field Service Lightning” missing in some dev orgs

I have a few dev orgs created before Winter '17, as well as a preview org I created last week. All of them are on Winter '17 now but only the preview org shows "Enable Field Service Lightning" under ...
0
votes
2answers
1k views

Field Service Lightning Mobile Notifications

I'm currently using Salesforce, Field Service Lightning. When I assign Service Appointments to the technicians they do not receive notifications about them in their phones, even thought the ...
0
votes
1answer
637 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
45 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
157 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>&...
0
votes
1answer
546 views

Field Service Lightning (FSL) Scheduling

I am learning FSL and trying to schedule Service Appointments in Field Service Gantt. I am not able to drag or locate my Service Appointments in Gantt. There is a warning sign with my Service ...
0
votes
2answers
323 views

How to create Operating Hours for Apex Testing

I can't really find a solution for this, but does anyone can help me with creating Operating Hours for Apex Testing? I'm not quite sure what I have to create? Only the Operating Hours - record or more?...
0
votes
2answers
655 views

Field Service Lightning Mobile - Push Notifications Never Received

Have installed the managed package for iOS, have turned on notifications in Field Service Settings, and have also set up field tracking/etc. per known issues list, but still no notification is pushed ...
0
votes
2answers
101 views

Salesforce Triggers [closed]

In the Salesforce , Field Service Lightning application there is a Dispatcher console with multiple status fields in it. I created a custom field in it and called it 'Responded'. What do I wanna do ...
0
votes
1answer
918 views

Field Service Ligthning Mobile App Extension URL Global Parameters

I wants to open iOS app using app extension from Field Service Lightning(FSL) application. Is there anyway to open the iOS app with the same session from which the FSL app is logged in(like passing ...
0
votes
1answer
597 views

Field Service Lightning - some objects not visible in dataloader

I am trying to use dataloader.io to load data into a standard Field Service Lightning object - "Product Request". However I cannot see this object in the available objects for dataloader. I'm also ...
0
votes
1answer
1k views

Open iOS app from Field Service Lightning mobile app

I require to open another app from FSL mobile app when someone clicks an URL on FSL Mobile Screen. for example, as how we open google maps for directions from yelp mobile app or browser etc. Once I ...
0
votes
0answers
21 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 ...
0
votes
0answers
61 views

Test Class Error: Service can not be scheduled where primary territory member is not defined

Test class is failing due to below error. I have created Primary ServiceTeritoryMember but still getting this error. Service can not be scheduled where primary territory member is not defined objOH....