Тёмный

Future Method in Salesforce | How to make a callout from Trigger | Future method with Callout=true 

Slesforce in 5 minutes
Подписаться 5 тыс.
Просмотров 4 тыс.
50% 1

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

 

6 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 32   
@Vijay_patil---
@Vijay_patil--- Год назад
There are lots of videos on youtube but you have explained very well in simple manner and stuck to point. Thank You very much.
@salesforcein5minutes
@salesforcein5minutes Год назад
Thanks a lot 😄 will be adding more such videos on lwc as well
@swethamadadi2521
@swethamadadi2521 2 месяца назад
Very Useful and informative sessions .All the topics are explained to the point in a very simple manner .Thank you very much!
@salesforcein5minutes
@salesforcein5minutes 2 месяца назад
@@swethamadadi2521 Thanks, glad you found my video useful ☺
@saimahesh6520
@saimahesh6520 11 месяцев назад
very useful content with neat content and concept is very clear
@salesforcein5minutes
@salesforcein5minutes 11 месяцев назад
Thanks a lot :)
@madhumohan2952
@madhumohan2952 10 дней назад
very great way of practical implementation , now i understood how to do callouts from future , pls post the link which you did for anonymous window callout and setting up of named credentails
@salesforcein5minutes
@salesforcein5minutes 8 дней назад
Hi glad you liked the video, thanks for watchinh ill check in playlist for the things that you are refering to
@kshitijgupta1220
@kshitijgupta1220 4 месяца назад
Pls do live sessions too good Thankyouu ❤
@salesforcein5minutes
@salesforcein5minutes 4 месяца назад
Sure 😄
@namanshetty2781
@namanshetty2781 3 месяца назад
Can I use Queueable instead of future to make call-out here? If so is there any difference or drawbacks. Also the call-out is inside a for loop , so i think this isn't best practice, so can you please guide me with the best practices here
@salesforcein5minutes
@salesforcein5minutes 3 месяца назад
You can use queueable i believe
@vindhyasravan8256
@vindhyasravan8256 10 месяцев назад
Good session
@salesforcein5minutes
@salesforcein5minutes 10 месяцев назад
Thanks a lot 😄
@namanshetty2781
@namanshetty2781 Месяц назад
I have a requirement that when a account inserts via data loader for each 200 records and if Phone number is not null, then the phone number field is validated from integration by making call-out and another checkbox field is updated based on call-out. So since each trigger has size of 200 records. But the maximum call-out allowed per transaction is 100. How to achieve this?
@satyaprasad9371
@satyaprasad9371 7 месяцев назад
Hi "We get token from third party where we save it and if it expire what will be our logic ? how we achieve in our code?" i am getting these question mostly ,please help me how can i answer for this question
@namanshetty2781
@namanshetty2781 3 месяца назад
Why are we using future method to make callout? Can't we make call-out directly in trigger?
@salesforcein5minutes
@salesforcein5minutes 3 месяца назад
@@namanshetty2781 trigger exectues immediately but the callouts are made or we get the response of callout after some time hence we use it, also to make callout u need to use future with callout = true or database.allowcallouts
@namanshetty2781
@namanshetty2781 3 месяца назад
@@salesforcein5minutes Thanks for the clarification. But what if the response takes more than 60 seconds, let's say 180 seconds which is exceeding the CPU time of asynchronous Apex i.e 60 seconds also exceeds maximum time to get a callout response i.e. 120sec?
@namanshetty2781
@namanshetty2781 3 месяца назад
Please help me with understanding this
@salesforcein5minutes
@salesforcein5minutes 3 месяца назад
@@namanshetty2781 write a retry logic or else use platform. Events if possible
@namanshetty2781
@namanshetty2781 3 месяца назад
@@salesforcein5minutes okay thanks please make a video on this it would be helpful.
@satyaprasad9371
@satyaprasad9371 9 месяцев назад
Is it required to edit named credentials every time if we want to callout, please clarify it for example i logout ang login again after some time is work fine or i need to edit and save named credentials again
@salesforcein5minutes
@salesforcein5minutes 9 месяцев назад
You can just edit the named credentials and save it without any updation it will navigate you to the target website where you will be able to validate once more to send and receive the data
@vaseefcool
@vaseefcool Год назад
In this video session got expired. In realtime as well we need to login everytime to make a callout?
@salesforcein5minutes
@salesforcein5minutes Год назад
We just need to use named credentials to just do authentication again and then you will be able. To make callouts without any problem
@kiranreddy6155
@kiranreddy6155 4 месяца назад
cab you also please make a video on Test a Callout with HttpCalloutMock. please
@salesforcein5minutes
@salesforcein5minutes 4 месяца назад
Sure man what exactlu are you looking for test class for integration?
@kiranreddy6155
@kiranreddy6155 4 месяца назад
@@salesforcein5minutes Thanks for asking brother. It's about wring a test class for an apex callout and about implementing MockFactory for the test cases. It is so confusing what's happening over there. just for your reference check the trailhead unit on Apex REST callouts. Thanks
@salesforcein5minutes
@salesforcein5minutes 4 месяца назад
@@kiranreddy6155 okay sure will create a video around it 👍
Далее
POLI и Маша - Сигма бой
00:20
Просмотров 324 тыс.
Apex: Basic REST Callouts | Developer Quick Takes
16:33
Wire Vs Connected callback in LWC || Real time Example
17:29
Salesforce Integration -- 1|| Rest api callout
34:59
Просмотров 10 тыс.