---
schema_version: "1"
id: 65108f7b6de488ac2e074b15f015afd43c3e769fdbb2fcf3807772e70f9b434c
title: Get Quote Groups Invocable Action
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_get_quote_groups_invocable_action.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_get_quote_groups_invocable_action.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 27c6ea7fa16e11692a27bce83cdb683515ea0d639d58cf8c573e90f754ab4f2c
description: Use this action to retrieve all groups associated with a specific quote. For example, you can fetch all quote groups to apply customized service-level agreements across different business units.
products:
  - Communications
release: "264"
---
# Get Quote Groups Invocable Action

Use this action to retrieve all groups associated with a specific quote. For example, you can fetch all quote groups to apply customized service-level agreements across different business units.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col style="width:100%"></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>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

## Input Values

  
| Parameter | Description | Data Type |
| --- | --- | --- |
| quoteId | The ID of the quote to get the groups for. | String |
| isAsyncJobRunning | A Boolean value that indicates whether to check for running asynchronous jobs before fetching groups. | Boolean |

## Output Values

  
| Parameter | Description | Data Type |
| --- | --- | --- |
| outputMessage | A message containing the details of the output. | String |
| quoteGroups | A list of quote groups. | String |
| errorMessage | A message explaining why the data couldn't be fetched. | String |

## Example

JSON Request

```json
{
  "inputs": [
    {
      "quoteId": "0Q0DX0000007jXl0AI",
      "checkAsyncJobStatus": true
    }
  ]
}
```

JSON Response Body

```json
[
  {
    "actionName": "devops001gs0__B2BCmexGetGroupsInvocable",
    "errors": null,
    "invocationId": null,
    "isSuccess": true,
    "outcome": null,
    "outputValues": {
      "message": null,
      "quoteGroups": [
        {
          "quoteGroupId": "a4IDX0000000a4S2AQ",
          "groupName": "Enterprise Services"
        },
        {
          "quoteGroupId": "a4IDX0000000a4T3BR",
          "groupName": "Mobile Solutions"
        },
        {
          "quoteGroupId": "a4IDX0000000a4U4CS",
          "groupName": "Cloud Infrastructure"
        }
      ],
      "error": null
    },
    "sortOrder": 0,
    "version": 1
  }
]
```