How to Use Record Types in Salesforce Flows

Поділитися
Вставка
  • Опубліковано 4 жов 2024

КОМЕНТАРІ • 32

  • @dudederrick2002
    @dudederrick2002 7 місяців тому +1

    Bro this was so simple. Thank you for showing me this technique.

    • @Rotive
      @Rotive  4 місяці тому

      No problem 👍

  • @ShiwaniSehgal-m6h
    @ShiwaniSehgal-m6h 10 місяців тому

    Excellent vedio like all of your other flow vedios. You are the best.

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

      I appreciate that! So glad you're finding our videos helpful.

  • @mohammadrazzak5355
    @mohammadrazzak5355 5 місяців тому

    Thank you for sharing the tips

    • @Rotive
      @Rotive  5 місяців тому

      Any time! Let us know if there's any topic you're interested in learning more about

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

    Excellent video!

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

      Thank you very much! Let us know if there are any other topics you'd like us to cover 😊

  • @JeltjeRotterdam
    @JeltjeRotterdam 4 місяці тому

    Thank you for this video, it is very clear. I have another problem related to this: I want to change the recordtype of cases. We get a lot of case through Outlook. Depending on the sender or the subject, the type and recordtype can be set automatically. But I only manage to do this by using the recordtype Id. Is there a trick to use the name of the record instead of the ID here as well?

    • @Rotive
      @Rotive  4 місяці тому +1

      No trick here. If you're updating a Case's record type, you need to update the case field with the ID of the record type. It shows us the name of the record type when we see it in the UI, but that field is actually a lookup that contains the ID so that's what you need when updating it.

    • @JeltjeRotterdam
      @JeltjeRotterdam 4 місяці тому

      @@Rotive Thanks. I did manage to do this with get records as well, after some research 🙂

  • @paolocavalli7
    @paolocavalli7 7 місяців тому

    you're the man!!

    • @Rotive
      @Rotive  7 місяців тому

      Haha. Thanks!

  • @joymontgomery6286
    @joymontgomery6286 5 місяців тому

    Thanks you!!!

    • @Rotive
      @Rotive  5 місяців тому

      You're welcome!

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

    Good explanation

  • @tomaszwida
    @tomaszwida 2 місяці тому

    how can u do the same on a Scheduled-trigger flow?

    • @Rotive
      @Rotive  Місяць тому

      Because a schedule triggered flow's trigger will match against record field values, I'd use the formula field trick and match based on record type api name.

  • @rameeshar707
    @rameeshar707 7 місяців тому

    Hi, could you please tell how to get a record type dynamically as one of the superbadges had it as a requirement?

    • @Rotive
      @Rotive  4 місяці тому

      Getting the record type by name should do it.

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

    Cool explanation, but I didnt get why didn't we use get records to detect the record type id then we can for decision element right for 2nd method

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

      Thanks for the comment! In this particular example we don't need to Get the RecordType record because we can already see it through the lookup field on the Global Variable record that triggered our flow. If this was a screen flow, you probably would have needed to include a Get.

  • @PaoloCavalli-e1o
    @PaoloCavalli-e1o 7 місяців тому

    aaaaaaa THANK YOU

    • @Rotive
      @Rotive  7 місяців тому

      You're welcome! Glad it was helpful

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

    Hi Brian. Could use your thoughts on the below. My org has several flows where we are fetching and using record type ids in several different flows for different objects. I’m contemplating creating a reusable flow where we first check the sObject and then go into a decision for different objects to retrieve the various api names of the record types for each object and then reuse that flow in other flows where we need to fetch the record type api names. I’m also considering creating a cmdt table to store the different record type api names for our most used objects and then get that cmdt object in our flows. We have a similar challenge with manually referencing queue Ids in flows. Thoughts?

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

      Thanks for the comment. I’m not sure why the subflow would be necessary. Is there a lot of reusable logic? If record type A then set these 6 variables, etc.?

  • @TimCollins-px9mi
    @TimCollins-px9mi 4 місяці тому

    Looks simple enough but I still can't get it to work correctly. Every time I go to debug... it goes down the No path

    • @Rotive
      @Rotive  4 місяці тому

      Hard to say. Try changing your decision criteria. Maybe you need "contains" instead of equals. Maybe there is a typo in there.

  • @Kenny-iu1hl
    @Kenny-iu1hl Рік тому

    Rose Apothecary 😂