Loading
Visual Studio Code Based Modeler for Consumer Goods Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Logout in Cockpit

          Logout in Cockpit

          Use the logout() and changePasswordAsync() methods to trigger the logout and change password functionality in the Consumer Goods Cloud offline mobile app.

          Required Editions

          Available in: Lightning Experience in Performance, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled.

          This method triggers the logout process.

          <Action actionType="LOGIC" name="LogoutUser" call="ApplicationContext::User.logout"/>

          This method initiates the change password process.

          <Action actionType="LOGIC" name="LogoutUser" call="ApplicationContext::User.changePasswordAsync">
            <TransitionTo action="AfterPWDChanged" />
           
          Loading
          Salesforce Help | Article