Record Trigger Flow | Schedule Trigger Flow | Day 6

Поділитися
Вставка
  • Опубліковано 14 лип 2024
  • Record Trigger Flow | Day 6
    0:00 Introduction
    1:14 Record trigger scenario
    2:48 Create Record -Triggered Flow
    3:13 Create before/After record saved flow
    22:00 Scenario 2 Schedule-Trigger Flow

КОМЕНТАРІ • 44

  • @chin2mittal
    @chin2mittal 2 роки тому +17

    Hello, I guess the issue you faced is because by mistake on the last step while updating the Contacts, you selected 'Create Record' action over the collection of Contact which already has non-null IDs.

  • @wiama.3467
    @wiama.3467 2 роки тому +7

    Quite confusing this time. And the error at the end was because Amit is trying to create new records...which need all required values assigned. He took the wrong DML-Element at the end. Update Records would be the right one.

  • @elhadjimoryndaw5773
    @elhadjimoryndaw5773 2 роки тому +1

    THANK YOU

  • @ayushmanshahu9765
    @ayushmanshahu9765 2 роки тому +1

    Scenerio works . take update record account id equals null. instead of create record.

  • @vanaramprajapati3890
    @vanaramprajapati3890 11 місяців тому

    In this context, you can create a new variable resource and define its data type as a record. Make sure to select the "Allow Multiple Values" checkbox. After creating this variable, proceed to assign "add records" within the assignment block. Within the final loop, you can then update a record. To do this, utilize the previously defined variable of record type to modify the necessary record.

  • @ragulhm
    @ragulhm 2 роки тому +4

    From October 9th we are going to have sub flow for record flow. Kindly cover that part as well from preview sandbox. Single flow will not help replace 2000 lines of our company trigger.

    • @apexhours
      @apexhours  2 роки тому +1

      We will try in future sessions

  • @derrickchavez8494
    @derrickchavez8494 Рік тому

    Here is a helpful tip on deciding whether to use the Assignment Action vs. Update element for Scenario 2 at the 20-minute mark of the video.
    There is very little difference. You can use either the Update element or the Assignment element. The key is that triggers and validations are NOT recursively kicked off in before-save Flows as they are in after-save Flows. This means the performance is almost the same whether you use the Update or the Assignment element.

  • @somsamanta3498
    @somsamanta3498 2 роки тому +1

    These are excellent videos with great use cases. Do you have a video series for process builder by any chance?

  • @amitbagade3277
    @amitbagade3277 2 роки тому

    Sir, if i want to create task 1 day after record is created so should i go for Record trigger flow or screen flow? and also it to assign to perticular user in org not owner??

  • @hitashihusband9159
    @hitashihusband9159 2 роки тому +1

    He took the wrong DML-Element at the end. Update Records would be the right one.

  • @massimotarquini1168
    @massimotarquini1168 2 роки тому +3

    why did you opt for a get record in the scheduled flow rather than the initial contact object chosen in the start element? the first approach you had was more scalable as 250k records can enter the flow

    • @mohamedel850
      @mohamedel850 2 роки тому

      Can you elaborate more on this please.

  • @muhammadusmanbabar8660
    @muhammadusmanbabar8660 2 роки тому +1

    Amazing seriously

    • @apexhours
      @apexhours  2 роки тому

      Keep watching all sessions.

  • @tmukhia
    @tmukhia 2 роки тому

    Hi Amit ,
    I have a scenario where I will be creating a checkbox field (Copy Comments to the Related Cases) and post it in "New Case Comments" action.
    Now I want, if "Copy Comments to Related Cases" is checked then copy that comment to all the Related Case Comments.
    Can you please show how it can be achieved?
    Thank you,
    Tarun

  • @shubhamband432
    @shubhamband432 9 місяців тому

    We should avoid criteria which we added at first step , it should be "no criteria just execute " So we will able to run this flow on collection of records not on each and ever record

  • @sandireddyroja6991
    @sandireddyroja6991 2 роки тому

    Hi I am getting this error while creating task,but currently i am using system admin profile only ,Please help me out here

  • @vaibhavpatil478
    @vaibhavpatil478 2 роки тому +2

    Error you received in last is because you have selected create record element instead of update record

  • @AS-lb8rk
    @AS-lb8rk 2 роки тому

    The scenario 2 - A flow which will run on Contact Records which were created in last week and do not have any related account, where was the part where you took care of contacts which were created in "last week" I didn't see that in the flow.

  • @balajibasanolla
    @balajibasanolla 10 місяців тому

    19:45 it is not showing the create record because u chose the before insert I think the reason for that is not showing.

  • @veeranjineyulukuruva4028
    @veeranjineyulukuruva4028 2 роки тому

    I have scenario there date field and owner field , when ever owner got changed and date field is today date so i need schedule email alert after 365 days ,so customer need to get after one year . I tried but is changed not possible in schedule folw

  • @niteshwarsharma8595
    @niteshwarsharma8595 2 роки тому

    Hi sir i have a scenario i want to achieve using flow .. i have a checkbox field and whenever checkbox field gets checked i want to populate a date field . both these fields are on account object

  • @sevdadalklc8410
    @sevdadalklc8410 2 роки тому

    Flow is worked, but there is an error in this flow. Dummy account created but it doesn t have any related contact...Please can you share a video for this scenario again..(Also I think you did wrong with createdrecord in the last part, I did updaterecord but there is still something missing in this flow.It doesn t give relationship between Account and contact)

    • @sunalgautam6888
      @sunalgautam6888 2 роки тому +1

      Its happening because we need to take the ''Current Item from Loop contact..' variable in the Update Records element, try it , it will work.

    • @igorferreira1486
      @igorferreira1486 2 роки тому

      @@sunalgautam6888 Thank you. Worked.

  • @sharmilajennas3469
    @sharmilajennas3469 2 роки тому +2

    Good Job but a little confusing this time.

    • @apexhours
      @apexhours  2 роки тому

      Looking forward for feedback and we are open to change it. Can you please suggest ?

    • @massimotarquini1168
      @massimotarquini1168 2 роки тому

      @@apexhoursI agree with Sharmila; he was very thrown off about the create record element not being available; yet he had a before update operation and the create record element is not available for before events...

  • @saikiran538
    @saikiran538 Рік тому

    Your way of teaching is good. But one thing you are lacking is you are very fast which is leading for mistakes and the new viewers will get confused. Please be little slower while explaining. All the best!

  • @PankajSharmaexplain
    @PankajSharmaexplain Рік тому

    BLUNDER

    • @apexhours
      @apexhours  Рік тому

      Let us know how we can improve. we would love to have your feedback

    • @harpindersingh940
      @harpindersingh940 Рік тому

      @@apexhours Scheduled flow is implemented in wrong way and indeed would be a blunder if implemented in a real project. Flow will be executed for all Contacts matching criteria and then inside the Flow there is a Get Record element to fetch all matching contacts again and looping through those.

  • @BugsbunnyEh
    @BugsbunnyEh Рік тому

    explanation is good but he did not handle the requirement properly. the flow is completely wrong. schedule flow run for batch which mean each record will run one by one. u don't need to get again all the contact, its like a loop inside another loop. u can create account and use update the contact. so only need 2 element for the entire flow. yes performance is always need to concern when teaching.

  • @chetsboy1
    @chetsboy1 Рік тому

    Help needed
    Instead of adding condition in first comment I have created a decision component and adding the Condition record.accountId equal globalconstant.emptystring
    But it always running default path only.
    Even though soql showing there are contact records without parent account