Part 1 - Using Flow Builder to Mass Delete Selected List View Records in

Поділитися
Вставка
  • Опубліковано 26 лип 2024
  • How to create a list view button connected to a screen flow to mass delete selected records.
    It is a straightforward steps with some tips and tricks
    To pass the selected records from a list view to a screen flow, all what you need to do is to create a collection text variable called 'ids' ... it is case sensitive
    Also, I show you how to create a return URL so that your flow can be redirected to a specific page when it finished [using the retURL flow parameter]
    Salesforce flow will display a confirmation message before deleting the records with options so the user can confirm or deny.
    Also, there is an end screen flow to display a success screen or if there is any errors in your flow, it will display a user-friendly error message
    This tutorial is helpful for salesforce admins and developers who want to create a mass actions to a selected records in any object list view
    I hope you enjoy this salesforce flow tutorial. Please subscribe for more videos
    Thank you!
    Salesforce Salesforce Flow Salesforce Admin Salesforce Developer Salesforce button Salesforce screen flow salesforce flow return URL Salesforce Demo Salesforce for beginners course salesforce free course
  • Навчання та стиль

КОМЕНТАРІ • 37

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

    Very Well Explained..Thanks!!

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

      Most welcome! Please *subscribe* for more content like that! 👍🏻👍🏻

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

      @@salesforcehappycorner8325 Could you please also create video to show to user lets say out of 10 records 6 records are successful and 4 records are unsuccessful

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

      You bet! Great Idea!

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

      Hi Raveena
      I just uploaded part 2 : ua-cam.com/video/J7v0xQp70h8/v-deo.html
      It will show you how can we accomplish your request + a user-friendly message displaying the error details.
      Please let me know if you've any questions or suggestions!
      Thank you!

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

      Could you make a video on two objects recod updating(setup and non setup) using screen flow

  • @SI-fx2ot
    @SI-fx2ot Рік тому +1

    This has to be one of the BEST videos explaining how to do this, you are absolutely amazing! Thank you so much, extremely helpful!!! ❤ 👌 💪 🙏

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

      You're very welcome! Your comment really made my day!! Thank you!!

    • @SI-fx2ot
      @SI-fx2ot Рік тому

      @@salesforcehappycorner8325 you’re very welcome too 😉 I viewed a few other videos before yours, and they were all a little scattered and not concise and clear like yours, you deserve so many more subscribers and likes. Keep up the great work 🙏 💪
      I’ve subscribed and look forward to more content 🙏 👌

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

    Very helpful, thanks!

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

    Excellent. Accurate, easy to understand

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

    this video was very helpful. thank you.

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

    Very smooth and well explained 👌

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

    Thanks buddy, worker perfectly🎉

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

    Very nice and helpfull

  • @canesmojo
    @canesmojo Рік тому +1

    It's a fairly new feature (API 55 or maybe 54 I'm guessing), but the Search Layout in Salesforce Classic in Object Manager has been replaced by the List view Button Layout link for LEX. Also, if you're going to use this in a related list, you'll have to go to the page layout of the parent record(s) and add the button there. The custom button will show up in the list view, but that doesn't automatically carry through a related list.

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

    perfect. very helpful.

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

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

    Very good and helpfully 👍👍

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

    Thank you for this video, how I can find a number of retURL for the Lead Object ??

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

    This is awesome, can you make a tutorial on how to delete an order item?

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

      Thank you so much! I am glad this was helpful.
      I just created a new tutorial on how to mass delete order items in salesforce.
      ua-cam.com/video/Fj7mOmVW5qM/v-deo.html
      Please check and let me know if you've any questions!
      Happy new year!

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

    Well explained . What’s the limit of records that can be deleted per transaction by doing this ?

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

    Hi, very good tutorial. How can you limit the visibility of this button to a group of users or profile?

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

    Great!!! works at 100%... just one question, is possible to do the same with Quotes???

    • @salesforcehappycorner8325
      @salesforcehappycorner8325  Рік тому +1

      Thank you! Sure, you can apply the logic to any object. Make sure to check part2 as well, it has some nice tricks 👍

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

      @@salesforcehappycorner8325 I think there is a problem... i can't add buttons to the list view for quotes :( can you help me to check what i'm doing wrong or if is a SF limitation... Txs!!!

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

    Hi Salesforce Happy Corner, thanks for the video!
    I am trying to do this on Custom Object record mass delete and flow works to delete records.
    But I cannot seem to make retURL work. Do you have any advice?
    Currently I have it like "/flow/myflowname?retURL=a28" as a28 is the object's 3 digit prefix.

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

      /flow/myflowname?retURL=/a28
      please add the 'slash' before the object prefix

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

      @@salesforcehappycorner8325 my goodness, thank you for your prompt reply here!!
      I just did that including "/" but it still remain as confirmation screen for No, and for Yes, flow runs & after clicking Finish, it goes back to this confirmation screen...

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

      @@salesforcehappycorner8325 I've gotten the delete to work perfectly following along with the method described here, but the redirection is failing and returning me back to the confirmation screen. I'm trying to delete form a custom object which is part of the problem (since object prefixes can be different across orgs for custom objects, and you can't depend on a hard coded retURL param working unless you edit the flow in each org it's deployed to). Also problematic is that I'm trying to do this in a related list on a record page for the parent object, and want it to return to THAT page. I think what I may have to do is do a Get Record on the first child record to get the ID of the parent, and use a navigate to record Core Action to take me back home. It's clunky, but it should work as long as my users are only ever using the mass delete from a parent record page (in my use case this would be a reasonable assumption to make).

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

    how to find retURL number of custom object?

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

    retURL is not working please help i am a new subscriber