Loading
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
          Configure Custom Scripts for Life Sciences Workflows

          Configure Custom Scripts for Life Sciences Workflows

          To make sure that records meet your business rules before the Life Sciences Customer Engagement workflow continues, create and manage custom scripts. Each time a user performs an action, validation scripts run to prevent incorrect actions or alert users about errors. Checklist scripts show an info icon on Update Record actions so that users can see the next steps to take.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise and Unlimited Editions with Life Sciences Cloud, Life Sciences Cloud for Customer Engagement Add-on license, and the Life Sciences Customer Engagement managed package.
          User Permissions Needed
          To configure custom scripts: Life Sciences Commercial Admin permission set

          First, configure custom scripts for the validations that you want to perform or for the checklists that you want to apply. See Create Lightning Web Components and Custom Scripts for Life Sciences.

          Then, you can apply the custom scripts from the Admin Console in Life Sciences Customer Engagement.

          1. From the App Launcher, find and select Admin Console.
          2. Select Workflow Configuration, and then select Custom Scripts.
          3. Click New, and give the script a name.
          4. Enter the name of the Lightning web component that you created.
          5. Select whether this is a script for a checklist or for validation.
          6. Save your changes.
          7. To sync changes to the custom script after you update the Lightning web component, select Refresh.

          After you configure custom scripts, assign them to workflow objects.

           
          Loading
          Salesforce Help | Article