Custom JavaScript Example To Sign Out Deactivated Salesforce Users

The following JavaScript code will check if the current Salesforce user signed into the Formyoula mobile app is active on Salesforce. If the user is deactivated, the mobile application will sign out the logged-in user.

Please add below JavaScript code on your Formyoula form deployed to your users.

image

Please copy the code and paste it into “JavaScript Code (Form Edit Page)”.

For any questions, please contact us - [email protected] or the Formyoula in-app chat 🙂