Skip to content
#448 - Salesforce InvocableMethod e InvocableVariable Annotations episode artwork

EPISODE · Jan 21, 2023 · 19 MIN

#448 - Salesforce InvocableMethod e InvocableVariable Annotations

from souforce.cloud · host Souforce.cloud

00:00 - Introdução 00:32 - O que é um InvocableMethdod - https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_InvocableMethod.htm 01:28 - Quando ele deve ser usado 02:38 - Para ser chamado via Flow, o usuário precisa ter permissão na classe do Apex 03:57 - InvocableMethod por debaixo dos panos é um REST API 04:21 - InvocableMethod suporta receber por parâmetro uma List de Id, sObject ou custom Class 05:40 - Um InvocableMethod precisa retornar VOID ou um List de qualquer coisa 06:09 - A quantidade dados retornado deve ser a mesma quantidade de dados recebidos por parâmetro 06:40 - InvocableMethod suporta atributos para auxiliar no uso em Flow/ProcessBuilder que são: 06:57 - Label: Indica o nome curto do método que você esta expondo 07:31 - Description: Indica uma descrição longa do que você esta expondo (Hoje isso não é exibido nem no Flow nem no ProcessBuilder) 07:57 - Callout: Assim como os métodos assíncronos, que falamos na live #444, um InvocableMethod precisa receber essa informação como true quando for realizar um callout dentro dele 08:13 - Category: No flow mostra o seu método em uma categoria especifica (Live #446 mostramos um exemplo onde a categoria utilizada era Email) 08:42 - ConfigurationEditor: Permite você customizar a forma como os dados de configuração serão exibidos no assistente do Flow (A parte mais complexa dos InvocableMethdo que deve ser construida em LWC - https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.use_flow_custom_property_editor) 11:55 - InvocableMethod precisa obrigatoriamente ser static, public ou global, e não pode ser uma classe dentro de outra classe, precisa ser a classe principal do arquivo 14:35 - Tipo Object não é suportado por parâmetro 15:53 - Para parâmetros do tipo custom class, as propriedades dessa classe precisam ter uma anotação. 17:21 - InvocableVariables - Label - Description - Required Acompanhe as live em https://youtube.com/souforce Siga-nos no Instagram @souforce e também @soublox.oficial Soluções em Salesforce: https://soublox.com Ferramenta Omnichannel para Salesforce: https://chatt2.me Blog: https://souforce.cloud/blog Cursos: https://souforce.cloud/cursos Podcast: https://souforce.cloud/podcast Telegram: https://t.me/souforce #InvocableVariables #InvocableMethdo #Souforce

Episode metadata supplied by the publisher feed · Published Jan 21, 2023

Embed this episode

Ready to play

#448 - Salesforce InvocableMethod e InvocableVariable Annotations

0:00 19:48

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

DevOps In Agile Way Pawel Piwosz "DevOps in Agile Way" is a captivating podcast that immerses listeners in the dynamic realm of DevOps, engineering practices, value streams, Clouds, AWS, Agile methodologies, and a myriad of other captivating subjects. Through engaging conversations and expert insights, this podcast serves as a bridge between all interested parties, fostering collaboration and enabling efficient software delivery. Join me on a deep dive into the fascinating intricacies of DevOps, where I explore cutting-edge tools, share best practices, and offer real-world anecdotes from industry experts. From continuous integration and deployment pipelines to automation of infrastructure and cloud-native architectures, I unravel the latest trends and strategies that empower organizations to achieve swift and dependable software delivery. Our exploration extends to the Agile methodology, highlighting its seamless integration with DevOps practices and its pivotal role in driving iterative development, cr IT Jobs's Podcast IT Jobs Two Cisco CCIEs discussing topics related to getting and IT Job or hiring for an IT Job. Focus on both Network Engineering, Cloud, Development, and CyberSecurity and as much reality as can be brought. Intel Conversations in the Cloud Intel Intel Conversations in the Cloud is a weekly podcast with IT leaders who are driving the future of a software-defined infrastructure based data center. Featuring members of the Intel Builders programs, Intel experts, and industry analysts, this recurring podcast series provides information on delivering, deploying, and managing cloud computing, technology, and services in the data center and enterprise. Overcast: Conversations on Cloud Computing Geva Perry & James Urquhart The latest news and analysis on cloud computing by Geva Perry, James Urquhart and guests

Frequently Asked Questions

How long is this episode of souforce.cloud?

This episode is 19 minutes long.

When was this souforce.cloud episode published?

This episode was published on January 21, 2023.

Can I download this souforce.cloud episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!