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
Sukanya BanekarSukanya Banekar 

FSL flow giving error unable to validate field Please contact admin

I am trying to validate user input in the Field Service Lightning screen flow. The validation works in debug mode (desktop), however when I execute the flow from FSL mobile app, it gives an error "unable to validate field. Please contact System Administrator."

I have tried so many formulas but none of them work in FSL:
I need to validate the user's input starts with 'P' as the first character and has 'O' as the fifth character.

(BEGINS({!EV_Charger_Serial_Number}, 'P') || BEGINS({!EV_Charger_Serial_Number}, 'p')) &&
  (RIGHT(LEFT({!EV_Charger_Serial_Number}, 5), 1) = 'O'||
        RIGHT(LEFT({!EV_Charger_Serial_Number}, 5), 1) = 'O')
VinayVinay (Salesforce Developers) 
You can reach out to Salesforce Field Service group on
https://trailblazers.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F93A000000PcSs for inputs on your ask.

Please close the thread by selected as Best Answer so that we can keep our community clean

Thanks,