Set Up a Mobile Worker
Learning Objectives
After completing this unit, you’ll be able to:
- Download the connected app.
- Set up a mobile worker as a service resource and assign them licenses.
- Assign the mobile license permission set.
- Set up sharing for a worker's service resource record.
- Optimize offline priming.
Before You Start
To follow along in this module, you need a special Developer Edition org that contains Field Service with the managed package and our sample data. Get the free Developer Edition and connect it to Trailhead now so you can follow along in your own org. Later, you use it to complete challenges. This Developer Edition is designed to work with the challenges in this badge, and may not work for other badges. Always check that you’re using the Trailhead Playground or special Developer Edition org that we recommend.
- Sign up for a free Developer Edition org with Field Service.
- Fill out the form. For Email, enter an active email address. For Username, enter a username that looks like an email address and is unique. It doesn’t have to be a valid email account (for example, yourname@test.com).
- After you fill out the form, click Sign me up. A confirmation message appears.
- When you receive the activation email (this might take a few minutes), open it and click Verify Account.
- Complete your registration by setting your password and challenge question.
Tip: Write down your username, password, and login URL for easy access later. - You’re logged in to your Developer Edition org.
Now connect your new Developer Edition org to Trailhead.
- Click the name of your new Developer Edition org at the bottom of any hands-on challenge or project step.
- Click Connect Org and log in to your DE org.
- Launch the new org.
Open the Gantt and view the sample data.
- From the App Launcher , find and select Field Service.
- Click the Field Service tab.
- In the calendar on the Gantt, choose September 22, 2021.
The sample data in this org runs from September 22, 2021 to September 24, 2021, so we go back in time for this module.
Download the Connected App
Maria has already downloaded and configured the Field Service managed package. Now she’s setting up things for her mobile workers. To do that, she needs the managed package for the connected app. The connected app adds key features to the mobile workers’ apps. With the connected app, workers can use geolocation services, see push notification messages, and use other app settings. Her mobile workers need these features to do their jobs.
Maria downloads the managed package for the connected app into a sandbox and tests it. After she’s sure it works for her, she installs it into Ursa Major’s production org.
- In the Download the Field Service Connected App help topic, copy the link to install the managed package.
- In an incognito window, paste the link.
- On the Salesforce login screen, enter the username and password for the org where you want to install the package, then click Log In. Use the special Trailhead org that you created and connected at the beginning of this module.
- Paste in the verification code that you receive in your email.
- Select Install for Admins Only, then click Install.
- Approve the request to grant access to third-party websites for geolocation and optimization services.
- Wait for a message telling you that you’ll be notified by email when the package is installed, and click Done.
Maria spends the time thinking about what she needs to do to set up her mobile workers. She decides to start with James Clifton because he volunteered to be the first mobile worker at Ursa Major to try out the new app.
Assign Yourself Proper Permissions
First Maria makes sure that she has the correct permissions to set up her mobile workers.
- Click , then select Setup.
- In the Quick Find box, enter
users
and click Users. - Click your name.
- Under your name, click Permission Set Assignments.
- Look for Field Service Admin Permissions.
If you don’t see that permission set in the list, assign it to yourself.
- In the Quick Find box, enter
permission sets
and click Permission Sets. - In the list of permission sets, click Field Service Admin Permissions.
- Click Manage Assignments.
- Click Add Assignments.
- Select the box next to your name and click Assign.
Maria selects Jimenez, Maria, and clicks Assign.
Now Maria is ready to set up James Clifton as a service resource.
Create a Service Resource
When James Clifton first started working for Ursa Major, Maria created a user account for him. She makes sure it’s active and that James logged in to set up his password. If your new mobile worker doesn’t have a standard user account, create one.
But James is more than an ordinary user. He’s also a service resource, which is another word for mobile worker in Field Service. Mobile workers operate in a particular territory, such as Los Angeles. They also need mobile and scheduling licenses to view the app on their phones.
Let’s see how Maria set up James Clifton as a service resource.
- From the App Launcher, find and open Field Service Admin.
- Click the Field Service Settings tab.
- Click Go to Guided Setup.
- Click Create Service Resources.
Note: You can see that James Clifton is already set up as a service resource in your new Trailhead org. Read through the instructions to see how Maria did it, but don’t perform the next steps in your Trailhead org. - Select the username. Maria selects James Clifton.
- Select the service territory. Maria selects Los Angeles.
- Click both icons to assign Scheduling and Mobile licenses to the service resource.
- Click Add.
Now James Clifton can be scheduled for jobs in the Los Angeles territory. He and his dispatcher can view his schedule on their desktops. He’s also been assigned the correct permission sets: Field Service Resource License, Field Service Resource Permissions, and FSL Mobile License. But James wants to view his schedule on his mobile phone too.
Assign Service Record Access
Maria gives James access to his service resource record so that he can see it in his mobile phone.
- From the App Launcher, choose Service Resources.
- To see all your workers, choose View All.
- Select the worker. Maria clicks James Clifton.
- From the dropdown, choose Sharing.
- In dialog, choose Read Only.
- Save your changes.
Speed Up Offline Priming
Maria installs the mobile app on her phone and tests it. She notices that when she opens the app, she has to wait for a few minutes while everything downloads. She doesn’t want her team to have to wait that long.
Maria knows how to fix this. By default, the mobile app primes your phone with all service appointments for 45 days before and after the current date. That’s a lot of data, and it takes a while to download. Maria’s field service team only needs service appointment information for last week and next week.
Maria decreases the date range to 7 days before and after today.
- Click , then select Setup.
- In the Quick Find box, enter
mobile settings
and click Field Service Mobile Settings. - On the dropdown for Field Service Mobile Settings, select Show Details.
- In the Future Days in the Date Picker field, enter the range. Maria enters
7
. - In the Past Days in the Date Picker field, enter the range. Maria enters
7
. - Click Save.
When she opens the app again, it’s much speedier.
Maria reads up on Field Service Mobile Settings to see if there’s anything else she’d like to change. Everything looks good!
Now Maria has set up everything for James. She installed the connected app, set him up as a service resource, and assigned him the necessary licenses and permissions. Then she decreased the range of service appointments downloaded to his phone to speed up loading. Now she’s ready to customize the mobile app to increase productivity.
Resources
- Salesforce Help: Download the Field Service Connected App
- Salesforce Help: Add a Single User
- Salesforce Help: Give Users Access to the Field Service Mobile App
- Salesforce Help: Offline Priming in the Field Service Mobile App
- Salesforce Help: Learn More About Field Service Mobile Settings
- Salesforce Help: Why can’t I see the Sharing button on a record in Salesforce Classic?
- Salesforce Help: Guidelines for Setting Up Field Service Contractors