Тёмный

Invocable Apex and Call the Apex Class From Flow | Day 8 

Salesforce Apex Hours
Подписаться 109 тыс.
Просмотров 45 тыс.
50% 1

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 34   
@babanshinde5876
@babanshinde5876 2 года назад
Thank You For this wonderful Flow Series .Thanks to the Entire Apex hours team.
@apexhours
@apexhours 2 года назад
Glad you enjoy it!
@brentschreibfeder5765
@brentschreibfeder5765 Год назад
Thank you for posting this; it was helpful. I would like to point out a correction to the Invocable Variable section. The invocable method takes a List because Salesforce has the option to bulkify calls to this method to improve performance, as it does with triggers - It may combine calls from up to 200 independent flow executions into that input List and expect you to handle it. By running get(0) on line 1, you will ignore any requests. This will cause this example to intermittently not work for most callers when under load. If your invocable method needs to accept a collection from a single flow, it should take a List, again to allow bulkification of up to 200 calls.
@shahirreturns
@shahirreturns Год назад
yes, I had the same concern!
@mangeshkadam6707
@mangeshkadam6707 2 года назад
Thank You For this Amazing Flow Series. Kudos to the Entire Apex hours team. :)
@apexhours
@apexhours 2 года назад
Our pleasure!
@riteshmohapatra
@riteshmohapatra Год назад
Amit You are doing a splendid job.. Glad to know we both are Deloitte Alumnis.. Keep it Up
@apexhours
@apexhours Год назад
Thanks a ton
@riteshmohapatra
@riteshmohapatra Год назад
@@apexhours Can Invocable methods return value back to flow? i want to return a id and string back from the invocable method. Please help
@ashum8434
@ashum8434 Год назад
Why we added the decision element? We have option in the first element to check when the flow is triggered...everytime record is updated or. Only at time when the particular mentioned field is updated
@vidyashree4052
@vidyashree4052 9 дней назад
same thing i noticed. Decision was not needed
@compton8301
@compton8301 3 года назад
Thank you. This is what I needed to complete a task at work! :)
@apexhours
@apexhours 3 года назад
Glad it helped. Keep watching
@anandhikandasamy3330
@anandhikandasamy3330 2 года назад
Nice Explanation @Amit! I have a question. Is it possible to pass single record ID instead of list of Ids as Invocable method's parameter?
@apexhours
@apexhours 2 года назад
Yes, you can
@anandhikandasamy3330
@anandhikandasamy3330 2 года назад
@@apexhours Thanks Amit! It would be helpful if you post a video regarding this
@snehalm4222
@snehalm4222 3 года назад
Thank u so much for video its very helpful ,but could you please tell what causing issue to save email as activity .
@apexhours
@apexhours 2 года назад
Let me check
@AnshuRaj-s6j
@AnshuRaj-s6j Год назад
how can we provide multiple record to variable. if i am getting multiple record in GET RECORD element. I want to send them all to apex class at a time???
@nagachaitanyayepuri3016
@nagachaitanyayepuri3016 2 года назад
Hi, Thanks a lot for the sessions, they are very helpful. I have a question, I have created a flow for auto-renewal, the flow takes Opp recordId and I need to pass it to LWC which then passes it to Apex method which has soql query to get list of Opportunity products of the Opportunity that entered the flow. Could you please advise how to acheive this? I need to display data table with Opportunity products along with Sales Price so that user can select them. Thanks in advance.
@ayushkhanna1996
@ayushkhanna1996 2 года назад
Hi Naga, I have kind of similar requirement. Are you able to resolve this? This would be really helpful
@nagachaitanyayepuri3016
@nagachaitanyayepuri3016 Год назад
@@ayushkhanna1996 Hi, sorry for the delayed response. Have you found the solution?
@madhukumaram6023
@madhukumaram6023 Год назад
Hi Sir, What about related Emails. The flow working fine I'm getting Emails when ever Case is created ( Origin = Email && contactId=!null ) but the Email size is still it's showing Zero. Any solution for this?
@serhataygun6245
@serhataygun6245 2 года назад
Hi, I did the same everting but I have received this error. Flow didn't accept my Invocable apex. "Remove this element from the flow, or move it to a scheduled path. A record-triggered flow can’t execute actions that make external callouts in a path that runs immediately."
@serhataygun6245
@serhataygun6245 2 года назад
Sorry my bad, I found the problem :D I had a callout=true in my apex class. After remove it worked.
@apexhours
@apexhours 2 года назад
Glad you are able to fix it
@jainprajwal20
@jainprajwal20 2 года назад
Can we call flow inside for loop in apex
@apexhours
@apexhours 2 года назад
soon
@Kirankumarsundarapalli
@Kirankumarsundarapalli 2 года назад
Hi apex hours team while the account is set to in active why it deleted only 2 opportunities but not 4 of them which are available in account related list of opportunities
@ameensams
@ameensams 2 года назад
Because the condition was set to only delete "ClosedWon" opportunities.
@kyefang8278
@kyefang8278 8 месяцев назад
Your demo of deleting the opportunities actually used Delete Record action, instead of Apex. Kind of failed the purpose somewhat.
@NiccolòStaffolani
@NiccolòStaffolani 7 месяцев назад
*Inactive
@apexhours
@apexhours 7 месяцев назад
?
Далее
Use Aura Component inside a Flow | day 9
31:44
Просмотров 16 тыс.
Outsmarted 😂
00:20
Просмотров 2 млн
Fantastic Frameworks for Fast, Feature-Filled Flows
46:25
Salesforce Lightning flow |  Flow Builder
1:09:51
Просмотров 129 тыс.
27. Call APEX From Flow
17:55
Просмотров 1,9 тыс.
Record Triggered Flows with Real Time Scenarios
1:22:34
Invocable Method Vs Invocable Variable
8:04
Просмотров 2,9 тыс.