How to: Build a Complex Flow - User Requests! (Salesforce Tutorial)

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 46

  • @SalesforceAdam
    @SalesforceAdam  3 года назад +5

    So this is my first 'request' video, which looks to answer a use case for one of our community subscribers called 'AS'. Comment and let me know if you know of some other/better ways to achieve this use case - we all can learn from each other! xxx

    • @AS-sp8cj
      @AS-sp8cj 3 года назад

      thank you!!

    • @carlosmarioleal
      @carlosmarioleal 2 года назад +1

      I have another solution: create a field and make a flow to assign a number to it every time the stage closes as a winner, and send the voucher only when the field is assigned the numbers: 3,6,9,12, etc.

  • @danielgeorge6814
    @danielgeorge6814 2 года назад

    Thanks for posting this great example. It actually applied to something I am working on. I know it's a year old, but "JUST IN TIME!"

  • @jireh753
    @jireh753 9 месяцев назад

    Amazing videos Adam!
    I thought about another way to resolve this by creating a roll-up summary field on account object to count number of related opportunities that are 'closed won', a formula field that divide the count by 3 and return the result and then create a record triggered flow on account by setting as condition that the formula field should be equal to 0.
    Note: the remainder of all multiple of 3 by 3 is and will always be 0.
    I think this should bring efficiency and optimization, I'd love your feedback on this approach.
    Thanks

  • @LosPane
    @LosPane 2 года назад +1

    Thank you so much Adam! This is the best complex Flow example explanation that I have found so far!!! 👌

    • @SalesforceAdam
      @SalesforceAdam  2 года назад

      You're very welcome! Glad it was helpful.

  • @CatherinePopovich
    @CatherinePopovich 2 года назад

    I really enjoyed this video's more advanced use case. It incorporates a couple of different elements and variable types I've never used before. It was also helpful to hear you explain in your own words how the different flow elements work to reinforce things I already knew. Thank you for taking the time to make these!

    • @SalesforceAdam
      @SalesforceAdam  2 года назад

      You're welcome. Thanks for the comments. Do let me know if you have use cases of your own for possible future videos. :)

  • @DeepakSoni-ho7dq
    @DeepakSoni-ho7dq 3 года назад +3

    superb video thanks a lot. very nice explanation

    • @SalesforceAdam
      @SalesforceAdam  3 года назад

      You're welcome! Thanks for the feedback. Let me know if you have any ideas for things you might like to see. Cheers again, Adam

  • @renatomoran8687
    @renatomoran8687 3 года назад +2

    Your channel is awesome. Thanks from Brazil :)

    • @SalesforceAdam
      @SalesforceAdam  2 года назад

      Sem problemas! Muito obrigado! I'm actually half Portuguese (my mother is from Madeira and have family in Brazil) - greetings from the UK. Hope the content helps in your Salesforce journey. Ate logo ;)

  • @melpatil9580
    @melpatil9580 3 года назад

    Thank you for the Video, this is really helpful to see how we can use a flow for more complex requirements. I find you very easy to follow on your Tutorials.

    • @SalesforceAdam
      @SalesforceAdam  3 года назад

      Thanks for the support Mel. More to follow...

  • @abhishekrai4325
    @abhishekrai4325 3 года назад +1

    Great content. Amazing step-by-step explanation.
    Thank you for this masterpiece !

    • @SalesforceAdam
      @SalesforceAdam  3 года назад

      Haha! Thank you for the kind words. Glad it was useful. Do let me know if you have any questions or areas you struggle on for me to do a video on in the future. :)

  • @levilieberman5990
    @levilieberman5990 2 года назад +1

    There is an operator in coding called modulo and it looks like the % sign. It returns the remainder of a division equation. For example, 12 / 3 =4 and 12 % 3 = 0, because the remainder is 0. Not sure if it exists in salesforce, but this would be a perfect use case.

    • @SalesforceAdam
      @SalesforceAdam  2 года назад

      Hi Levi. Great question. To be honest I don' think it does but might be a similar function in the formula functions? Although I don' thtink there - help.salesforce.com/s/articleView?id=sf.customize_functions.htm&type=5

  • @arvindkumarmurugasamy9489
    @arvindkumarmurugasamy9489 2 года назад

    Nice video.. really helpful 👌 Love from India 🇮🇳

  • @TristaJensen
    @TristaJensen Год назад

    Curious - could you have done this by creating a custom field on opportunity to hold count of opportunities and the flow would look at that new field every time it updates, if count =3, send voucher, if count = 6, send voucher?

  • @melekyagmur6455
    @melekyagmur6455 Год назад

    super video thanks a lot. very nice explanation

    • @SalesforceAdam
      @SalesforceAdam  Год назад +1

      You're welcome! Thanks for the comments :)

  • @JWAChicago
    @JWAChicago 3 года назад +1

    Hi Adam - your videos are a GREAT source of information and help with Flows in particular. I have a use case for cloning records from an object that is the child object of another custom object. And, that other custom object is the child of the Initiating custom object. I know how to clone a record and its related list. So, starting the flow at the initiating object can I get access to and clone the "grandchild" object?

    • @SalesforceAdam
      @SalesforceAdam  3 года назад

      Great question! And to be honest I've never had that use case before and so don't really know the answer. My gut feeling is that it might be possible but not easily. You'd need to store each of the related items (if you need to clone all of them from children to grandchildren) in collection variables, then create new records from those. That's my thought from the 'top of my head'. Again, find the Parent Record ID, then Get Records for the children and store in collection variable, then run a similar process again the each child record (to pull the ID and get records for all the grandchildren). The thing that makes this tricky is the fact that you could end up with a massive amount of records and computation as one parent could have 100 children and each of those could have 100 children,...or more! So my usual recommendation would be to ask the business WHY...what is the real aim here? And by looking at it from a requirements perspective (looking at it functionally or in a process flow) you might find a better way to accomplish the needs rather than blindly developing a really complex process if there could be another way of thinking about it/doing it? Hope that helps :)

  • @patrickj.trevenen1633
    @patrickj.trevenen1633 2 года назад +1

    Nice follow along video

  • @JamesTrigg-g7t
    @JamesTrigg-g7t Год назад

    Great Video, but why do you need to count the number of vouchers to use in the decision? Surely the requirement was to assess the number of purchases (as a multiple of 3) and for every multiple of 3 opportunities a) create a new voucher b) send that new voucher to the customer. Because in the case where an account reaches 6 opportunities, the number of vouchers will be already be 1 (from previous hitting 3 opportunities), so your formula will "equal" the number of vouchers (i.e. 1), and won't trigger the creation of a new voucher or send an email.

    • @SalesforceAdam
      @SalesforceAdam  Год назад

      Hi James - you're correct, there are always different ways to achieve the same goal and that's a more efficient way in that area. Thanks for the comment! :)

  • @donnaallison5671
    @donnaallison5671 Год назад

    Hi Adam, You mentioned Blue Peter in this video. Is this a reference to Outward Bound?

    • @SalesforceAdam
      @SalesforceAdam  Год назад

      Haha no, it's an old English (BBC) kids programme where they would show you how to make something from scraps and then show you "One they made earlier" : www.google.com/search?q=blue+peter+this+is+what+i+made+earlier&oq=blue+peter+this+is+what+i+made+earlier&aqs=chrome..69i57j0i22i30j0i22i30i625j0i22i30.8540j0j9&sourceid=chrome&ie=UTF-8

  • @잭매튜스
    @잭매튜스 Год назад

    My initial idea was to just take the count of closed won deals and divide it by 3, then "if whole number, send voucher email", "if decimal, do not". Would there be a way to implement this solution in flows without code? As a newer user, it's difficult to figure out where the line between solutions that need and do not need code is.

    • @SalesforceAdam
      @SalesforceAdam  Год назад

      Hi there, so for me 'code' is Apex, JavaScript or something like that. I wouldn't consider the logic in a formula field as code. I would recommend to get more practise in using formula fields, there are lots of templates and examples and mostly works like formulas in excel. In my experience formulas are a huge benefit and a key thing to get used to :)

  • @catherinehesser8879
    @catherinehesser8879 2 года назад +1

    Great Content! I leveraged your video to perform one of our use cases but am encountering an error 'UPDATE RECORDS:
    Failed to update records whose IDs are in {!UpdateListofCampaignMembers}'. Would you be able to help me troubleshoot this issue?
    Thanks!

    • @SalesforceAdam
      @SalesforceAdam  2 года назад

      Hi Catherine, apologies for the delay on getting back to you on this. IF you still are having an issue maybe post the exact message from the debug log. Maybe try running in debug mode and see the full text. usually there is a clue in there. :)

  • @julian_pp
    @julian_pp 2 года назад +1

    Excellent tutorial. Can we have another even more complex including subflows? Thank you so much for your work. Subscribed +1

    • @SalesforceAdam
      @SalesforceAdam  2 года назад +1

      Great suggestion. Sub-flows are on the list!

  • @TheAnishbab
    @TheAnishbab 2 года назад +1

    I would like to see ho to loop over 2 collections- eg Object A collection And object B collection. Each Object A record should get assigned to Object B record - ObjectA1- ObjectB1, ObjectA2-ObjectB2 any suggestions will help

    • @SalesforceAdam
      @SalesforceAdam  2 года назад

      Hi there, hmmmm tricky one that one. I'd have to thing about it. The real question that would allow for a solution is...how are the records linked? Is there a specific connection between them all i.e. Record 1 from Object A needs to connect to Record 6 from Object B? Or is there no connection? i.e. Record 1 from object A will connect to a new record on object B. If the latter then it will be easier. Likely you're have to first create the Object A records, then loop through those to create the Object B records, setting the lookup in each B record with the first, then next, etc, Object A record ID in the collection variables.

    • @TheAnishbab
      @TheAnishbab 2 года назад

      @@SalesforceAdam basically object B should be in sorted order. Like a round robin assignment but here it's not an owner 🙂. Look up association needs to happen. Especially this needs to work when more than 200 records are added.

  • @nasertheshaikh7697
    @nasertheshaikh7697 3 года назад

    Love from india...❤️

  • @pedroskipie
    @pedroskipie Год назад

    Hi Adam, do you consult? We are in Manchester :)

  • @mshala
    @mshala 2 года назад

    Anyone know how to create a flow for users that have not logged into Salesforce for the past 90 days. i need to be able to send them a reminder email other wise their account will be deactivated.