function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Prashant Gupta 91Prashant Gupta 91 

How to capture logged in user in FSL Mobile

I am using $user to capture the current logged in user in a lightning flow, however, its not working in Field Service Lightning flow. Any ideas how to access the current logged in user in FSL?
Sukanya BanekarSukanya Banekar
Create a variable named 'UserId' and set it as available for input. Please note that the variable name is case sensitive. When the flow is executed, 'UserId' will be populated with the logged-in user's ID.

Sukanya Banekar