Execute Qualification Procedure Action
Execute a qualification procedure, which returns the qualification status for the specified products.
This action is available in API version 64.0 and later.
You can invoke this action via Apex and Flows only.
The Execute Qualification Procedure action is available in Enterprise, Unlimited, and Developer Editions where Product Discovery is enabled.
| Input | Type | Description |
|---|---|---|
additionalContextData | Apex-defined | Collection of Apex AdditionalContextData records that contain additional context data for nodes of the custom context definition, if applicable. You can add details for up to 10 nodes. See AdditionalContextData. |
contextDefinitionName | string | Name of the custom context definition that’s used to create context data for categories. If null, the default context definition is used. |
contextMappingName | string | Name of the context mapping. By default, the default context mapping associated with the context definition is used. |
correlationId | string | Unique identifier attached to requests and messages, allowing reference to a specific transaction or event chain. |
productIds | string | Required. Collection of IDs of products that are to be checked for qualification. |
qualificationProcedureName | string | Name of the custom qualification procedure that’s executed to determine the category list. If null, the default qualification procedure is executed. |
userContextInputRepresentation | Apex-defined | An Apex UserContextInputRepresentation record that contains user details, such as account ID, geographical location, language preferences, and more. |
| Output | Type | Description |
|---|---|---|
apiStatusOutputRepresentation | Apex-defined | An Apex ApiStatusOutputRepresentation record that contains the status of the request, including the status code and message. |
contextId | string | ID of the context that’s created by using the specified context definition. |
correlationId | string | Unique identifier attached to requests and messages, allowing reference to a specific transaction or event chain. |
qualificationResultRepresentations | Apex-defined | Collection of Apex QualificationResultRepresentation records that contain details about the qualified product. |
Here’s a sample input to call this invocable action from Apex code.
Here’s a sample response when you call this action.