Questions tagged [work-order]

The tag has no usage guidance.

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

How to make visible Candidate action to a permission set?

FSL Resource Permission allows the following - See the Work orders and see the CANDIDATES action and assign / Schedule the Service Appointment to Self at an appropriate and free period using the ...
0
votes
0answers
11 views

Need to create a specific workOrder when Maintaince Plan is created

I need help with some stuff, I need to create suppose 5 workOrder when the Maintain Plan is created via APEX ? When i access it's field's via apex it give me error. I have the Field Level Access (...
1
vote
0answers
100 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
616 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
1answer
491 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
1answer
231 views

Retrieving StandardValueSet member WorkOrderPriority returns WorkOrderLineItemPriority

I'm struggling with retrieving standard picklist Priority from the WorkOrder object. I'm trying to determine if I'm doing something massively wrong, or if there is a bug in the metadata API. I have ...
1
vote
1answer
295 views

Activate WorkOrder object with project-scratch-def.json file

I'm trying to define my project-scratch-def.json file to enable the standard WorkOrder object, it appears the object is enabled under the Field Service section of the setup menu. I added the ...
2
votes
1answer
780 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
37 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. ...
0
votes
1answer
193 views

Standard Lightning Spinner turns constantly after a screen flow action execution on Work Order Object

I have a flow action on the work order object under the activity tab because its a classic behaviour in salesforce for Work Order and Case Object. When I launch the screen flow, the execution is good ...
0
votes
1answer
314 views

Process Builder: How can I call another object while creating Work Order?

I'm trying to make the following happen. When creating a Work Order there are two fields that hold a master-relationship (Accounts & Assets). I want to create a process that allows me to call the ...
1
vote
0answers
216 views

SFDX FieldService setting [duplicate]

I'm trying to work with WorkOrder object on my scratch org, but when I pull changes I'm getting error: sfdx force:source:pull -f -u 13285 --loglevel debug ERROR: Settings type: 'FieldService' is ...
0
votes
1answer
585 views

Work Order Line Item not being inserted in test class

I have a piece of code in my apex class which queries a work order with the corresponding Case ID. I have written the corresponding test method for this class, as follows: Case c = new Case(); insert ...
0
votes
2answers
2k views

Field is inaccessible in this context

We have a managed package app which makes dynamic queries where the customer can set which fields to query on an object. The customer has enabled in her org the service called 'Field Service ...
1
vote
0answers
77 views

How to enable Work Orders using Metadata API

I was hoping to deploy a package to my production org, but it seems that I must check off "Enable Work Orders" in Field Service Settings on my own. Is that the case? I was hoping that there'd be a ...
1
vote
1answer
291 views

Illegal assignment from List<WorkOrder> to List<WorkOrder>

Trying to run this very simple operation and getting exception as in title: list<workorder> o = [select id from workorder]; Wat?
0
votes
1answer
323 views

Not able to access the WorkOrder object in visualforce page. Throwing System.Visualforexecution exception

I wrote following visualforce page <apex:page standardController="Case" extensions="WorkOrdersController" sidebar="true"> <apex:repeat var="testWorkOrder" value="{!...
1
vote
1answer
528 views

Uses for Work Orders [closed]

I'm excited by Work Orders, but only if they add improved reporting or trackability. I would love to see something like Taskray's or Jira's boards on WorkOrders, and to be able to report on our speed ...