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
| Available in: Lightning Experience |
| Available in: Enterprise, Unlimited, and Developer Editions |
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
{
"inputs": [
{
"quoteId": "0Q0DX0000007jXl0AI",
"checkAsyncJobStatus": true
}
]
}
JSON Response Body
[
{
"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
}
]