Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Program and Case Management
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
          Set Up the Add Allegation Flow

          Set Up the Add Allegation Flow

          Customize the Omniscript flow that adds allegations to a public complaint, and configure the button that users click to start the flow.

          Required Editions

          Available in: Education Cloud, Nonprofit Cloud, and Public Sector Solutions. View edition availability.
          User Permissions Needed
          To create, edit, and activate Omniscripts: Omnistudio Admin permission set
          To access the Assessment object:

          Industries Assessment permission set

          OR

          Education Cloud Full Access permission set

          To access the Public Complaint object:

          Complaints Management Access permission set

          OR

          Education Cloud Full Access permission set

          To create custom buttons or links and to edit page layouts: Customize Application

          Customize the Add Allegation Omniscript Template

          Customize the add allegation Omniscript to work with your assessment questions and categories.

          1. From the App Launcher, find and select Omniscripts.
          2. Expand SPCM/Add Allegation, and then select AddAllegation (Version 1).
          3. Click New Version.
          4. Edit the template to accommodate your complaint intake assessment question categories and Omniscript forms. See Customize the Complaint Intake Guided Flow Template.
          5. Preview your work, and then activate the Omniscript.

          Configure the Add Allegation Button

          Enable users to open the add allegation guided flow from the Assessments related list on public complaint records.

          1. To create the button, from Setup, in Object Manager, select Assessment.
          2. Click Button, Links, and Actions, and then click New Button or Link.
          3. Specify these details.
            1. Enter Add Allegation as the label, and then press Tab to populate the API name.
            2. Select List Button as the display type.
            3. Select Display in existing window with sidebar as the behavior.
            4. Select URL as the content source.
            5. In the field formula box, enter the URL for the active AddAllegation Omniscript followed by an ampersand and the contextId for the target object, Assessment.
              To get the URL, in Omnistudio, go to the active AddAllegation Omniscript, and in the highlights panel, click Downward-pointing triangle, and then select How To Launch. Look for the Lightning URL. The formula looks like this: [Lightning-URL]&c__ContextId={!Assessment.Id}
          4. Save your work.
          5. Add the button to the Assessments related list for public complaints.
            1. In Object Manager, select Public Complaint.
            2. Click Page Layouts, and then click Public Complaint Layout.
            3. Select Related Lists.
            4. If necessary, add Assessments to the related lists.
            5. In Assessments, click Single wrench icon.
            6. Expand Buttons, and then add Add Allegation to the Selected Buttons list.
            7. Save your work.
           
          Loading
          Salesforce Help | Article