How to Instantly Count Your Salesforce Records with Flow!

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

КОМЕНТАРІ • 7

  • @tsenkoalexiev9701
    @tsenkoalexiev9701 5 місяців тому +3

    You don't need a loop for this. You can:
    - create a variable of type number, for example "collection_size", default value 0;
    - assignment element, using the variable "collection_size" on the left, operator "Equals Count" and the Get element name on the right;
    - use the variable name on the screen;
    Loop is not needed in this scenario and if you have a lot of records it will take time to go over each and every record :)

  • @colbya9432
    @colbya9432 Рік тому +2

    I really like your channel and have been an admin for 6 years. You should know that you can get a sum now with the assign element and you dont need to loop through all the records anymore!

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

      That's so cool I didn't even realize! Thanks :D

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

      I just saw this comment. How would you go about doing that?? That's awesome

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

      NumberVariable EQUALS COUNT CollectionVariable. Done!

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

    How would you go about taking a certain action when the count hits x number in a specific timeframe (ie 3 cases created on an account in the last 180 days)?

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

    Using the Today () variable doesn't work on the new version of Flow.