Use Custom Metadata in a Flow

Поділитися
Вставка
  • Опубліковано 19 гру 2020
  • How to create custom metadata table. Use case and example of custom metadata and how to use it in a flow. Use case: Update an Account field based on Country value using Metadata table

КОМЕНТАРІ • 24

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

    Thanks, Pratima--excellent demo!

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

    you are life saviour pratima thanks for the video

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

    Awesome job.

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

    super helpful video! I recently implemented a flow where I needed to create a State and Market custom object but I think I can convert them both into a custom metadata instead

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

    Thanks!

  • @kalyanithiag
    @kalyanithiag 3 роки тому

    Hi Pratima - Thank you for sharing all new flow features.. They are so helpful!! I need a help for this requirement..
    When a case comes in, Get the Email Origin (custom formula field) on that case and find the corresponding record with the same email origin in a custom metadata type. On that custom metadata type, have 2 custom pick-list fields and their values are associated/mapped with that email origin. using the flow populate the 2 picklist fields on the case if the email origin on case and custom metadata matches.

    • @PratimaShri
      @PratimaShri  3 роки тому

      Hi kalyani! Glad you find it helpful! I think you should absolutely be able to do this in a flow. Are you having any issues? It should be similar to the use case I have here.

  • @siddheshmayekar5704
    @siddheshmayekar5704 3 роки тому

    Thanks mam, it helped me alot

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

    pls make such more videos

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

    Hi Pratima, do you happen to know if Custom Metadata Types count towards SOQL limits when used in flow? I know they dont in Apex but what about flow. I just created a flow that queries for custom metadata types but i was wondering if the SOQL limit is bypassed in Flows too. Cant find it anywhere.

    • @PratimaShri
      @PratimaShri  3 роки тому

      I don’t think it will count towards soql as it uses the same engine in the background- let me find something to back it up

  • @ConniStock
    @ConniStock 6 місяців тому

    Could I use a custom metadata type to store business categories and dependent subcategories? Use Case: The user selects a category and subcategory then populate additional data relevant to that category /subcategory... Business requirement: Ability to document multiple categories and multiple subcategories during the assessment. My thought is I need a location to store the categories along with dependent subcategory as separate records... 8 Categories and 40 subcategories. These values will be updated frequently so creating picklists and checkboxes is just not efficient... and of course MULTI PICKLISTS ... any suggestions would be greatly appreciated

    • @PratimaShri
      @PratimaShri  6 місяців тому +1

      That is definitely a great use case of metadata in flows. Only callout i have is if you want the dependent metadata records to dynamically appear based on main category selection, you will need to keep the 2 screens. While SF is adding more functionality on dynamic screen, i still couldnt get the metadata dropdown to dynamically query the dependent records iun teh same sreen. Or i am sure there might be a a package for this purpose

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

    Hi pratima . Impressed with your complex cases ☺️ with flows.. Recent days got stuck with validation rules getting bypassed when a flow is updating. Is there any suggestion for bypassing validation by using checkbox in the record to update . Thanks I have watched every vedio of you... 😊

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

      Thank you! Something you may try is updating a checkbox along with your update. and all the validations are first checking if that field is checked or not. If it is nt checked then only it will fire. However I will caution that order of execution may bite you in this approach some times, been there with process builders. I have yet to try this with flow. If the flow a record triggered or screen flow? if it is a screen flow then you can also add a exception path and throw the error on the screen.

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

      A great idea for my next video :)

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

      @@PratimaShri thanks for the reply .. It is a record triggered flow and no way ,using checkbox for bypass validation even custom metadata also I have tried with negative result. Can a custom metadata or custom setting be updated in flow , if yes it is possible to bypass validation rules while using record triggered flow. Thanks 😊

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

    Hi Pratima what happens for bulk updates will all the account records during bulk update get updated correctly? since we are querying only one custom metadata record?

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

      It will take the respective country from the bulk records.. as long as you have the values added to metadata table. It wil work fine!
      There may be other issues with bulk updates like 101 errors based on what else you have going on in your org.

  • @prattayraha1704
    @prattayraha1704 3 роки тому

    How to add the region tab?

  • @kamilleeek3915
    @kamilleeek3915 3 роки тому

    Hi Pratima, I have one use case which I don't know how to do it. I need to fetch Custom Meta data and then I need to use those data in Einstein Bot for dynamic choice list. Do you have any idea how to do it?

    • @PratimaShri
      @PratimaShri  3 роки тому

      Hi I haven’t tried this but see if you can use a screen flow which will support this?

    • @kamilleeek3915
      @kamilleeek3915 3 роки тому

      @@PratimaShri Actually I cannot use screen flow as the screen flows are not supported in Einstein Bot Builder. I need use only autolaunched flow