# What role do mobile custom actions play in streamlining technician workflows?

**Topic:** Field Service · **Difficulty:** Medium · **Tags:** Field Service, Mobile Actions, Workflows

Read it on the site: https://www.forcechallenges.com/interview-questions/what-role-do-mobile-custom-actions-play-in-streamlining-technician-workflows

## Answer

**Basics:** On a work order or appointment a technician repeatedly does the same things: log parts used, capture meter readings, request inventory, collect a signature, close out. Quick actions let admins surface these as buttons. In the mobile app they appear in the record's action bar or menu, each opening a prefilled, minimal form or guided flow.

**How it works:** Create the action in Object Manager (Buttons, Links, and Actions) as an object-specific action: Create a Record (with predefined field values), Update a Record, Lightning Web Component, or Flow. Add it to the page layout section "Salesforce Mobile and Lightning Experience Actions" or to the mobile Lightning page, and for global actions to the global publisher layout. Assign layouts per profile or permission set so technicians see only relevant actions. Field Service mobile settings control which actions are offered and which flows can run, and offline use needs the data primed.

**Advanced / deep dive:** Flows give the best admin-speed result: screens, validation, decisions, and record creation in one guided path. Use LWC quick actions when you need device features (barcode scanner, signature, camera) or custom UI. For an offline-first design, every action must read from data already cached on device through the mobile offline briefcase or priming configuration, and writes are queued and synchronised later; avoid Apex or external callouts in the action path unless you accept that they fail offline. Use default field values and "predefined field values" so technicians type almost nothing. Validation rules and required fields still apply when the queued change syncs, which can create late sync conflicts the technician cannot fix in the field, so keep offline validation front-loaded in the action. Consider Mobile Flows designed for small screens: few fields per screen, large controls, no long picklists.

**Code / config example:**
```text
Setup steps (declarative):
1. Object Manager > Work Order > Buttons, Links, and Actions > New Action
2. Action Type = Flow, Flow = "Log_Parts_Used", Label = "Log Parts"
3. Page Layouts > Work Order (Mobile) > Salesforce Mobile and Lightning Experience Actions
   drag "Log Parts" near the top
4. Assign layout to the Field Service Mobile permission-set users
5. Add the related objects to the Mobile Offline briefcase so the flow has data offline
```

**Hidden gotchas & must-remember points:**
- Only the first few actions are visible without scrolling; order matters.
- Not every Flow element or screen component works offline or in the mobile app; test on a real device in airplane mode.
- Offline writes sync later, so server-side validation errors appear after the technician has left the job.
- Actions respect FLS and object permissions; missing permission just hides the action silently.
- Field Service Lightning is now Salesforce Field Service; the mobile app is the Salesforce Field Service app.
- Changing an action requires a sync or app restart before devices see it.

**Best practice:** Start with Flows for the three to five highest-frequency tasks, test offline on devices, and keep forms short.

---
Source: ForceChallenges · last updated 2026-11-02
