U bent hier:
Apex klasse verandert na de proef
In Spring '24 moet een InvocableMethod een CapabilityType opgeven die overeenkomt met het type aanwijzingsjabloon.
In Spring '24 moet een InvocableMethod een CapabilityType opgeven die overeenkomt met het type aanwijzingsjabloon.
| Beschikbaar in: Lightning Experience |
| Beschikbaar in: Enterprise, Performance en Unlimited Edition met de uitbreiding Einstein for Platform, of Einstein of Agentforce voor Sales of Service, of Agentforce Foundations |
U moet uw Apex klasse bewerken om met de CapabilityType te werken. Voor een sjabloon voor een aanwijzing voor een verkoop-e-mail is de annotatie bijvoorbeeld:
@InvocableMethod(CapabilityType='PromptTemplateType://einstein_gpt__salesEmail')
De CapabilityType is uniek voor elk prompt template type, dus een Apex klasse kan slechts door één prompt template type worden gebruikt.

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.