---
schema_version: "1"
id: 359e5be85b8a410086dc954c70ee0839db5d84fcc33c2eeadd39b3b6b7bcbf25
title: Public Sector | Get Regulatory Code Violation Details
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/agent_ref_pss_get_regulatory_code_violation_details.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_ref_pss_get_regulatory_code_violation_details.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 63b26720cf91e020e272b3a6ceb68e5e1549022b9f5a241567278b03485e5c53
description: Analyzes the user's request to identify the relevant section or clause from the regulatory code violation documents. Extracts and provides detailed information about the identified section or clause, ensuring the response directly addresses the user's question and adheres strictly to the regulations outlined in the documents.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Public Sector | Get Regulatory Code Violation Details

Analyzes the user's request to identify the relevant section or clause from the regulatory code violation documents. Extracts and provides detailed information about the identified section or clause, ensuring the response directly addresses the user's question and adheres strictly to the regulations outlined in the documents.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions with the Agentforce for Public Sector add-on or included in Public Sector for Agentforce 1 Service Edition. Requires each user to have the Agentforce for Public Sector add-on to access the action.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
      <colgroup>
        <col>
        <col>
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d105460e70">User Permissions
            Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d105460e70 ">To execute actions in the Compliance Management agent:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d105460e70 ">Public Sector Access</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d105460e70 ">See <a href="https://help.salesforce.com/s/articleView?id=ai.agent_actions_common_perms.htm&amp;type=5&amp;language=en_US" target="_blank">Common User Access for Standard Agent
              Actions</a>.</td>

        </tr>
      </tbody>
    </table>

## Action Details

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">API Name</td>

            <td class="slds-cell-wrap" style="vertical-align:top;">GetRegulatoryCodeViolationDtl</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">Reference Action Type</td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Prompt Template</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">Reference Action</td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Summarize Regulatory Code
                Details</p>
              <p style="margin-bottom:0;">(SummarizeRegulatoryCodeDetails)</p>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">Does this action execute one or more prompt templates?</td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Yes</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">Required Setup</td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Compliance Management with Agentforce</td>

          </tr>
        </tbody>
      </table>

## Get Regulatory Code Violation Details and Prompt Templates

This agent action calls the Summarize Regulatory Code Violation prompt template to generate a summary of the regulatory code violation details that it extracts from the violation documents.