Find Largest Opportunity Amount - Flow Sorting Records - FlowFestv1 Challenge 1

Поділитися
Вставка
  • Опубліковано 31 січ 2025

КОМЕНТАРІ • 6

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

    👩🏿‍💻 Want to become a dev but don't know where to get started?
    👉🏿 Check out my course on Apex Fundamentals tinyurl.com/LEARNSFDEV

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

    Hey Warren, what a great surprise to see you again in the channel providing value! I really like your FLOW exercises.... thanks for posting!

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

      Happy to be back. Thanks for the support Pedro.

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

    First!
    Welcome back to UA-cam.
    If you are bad at Flow like me, you can just do this:
    Opportunity opp = [SELECT Amount, AccountId FROM Opportunity WHERE StageName = "Closed Won" AND AccountId = :selectedAccountId ORDER BY Amount DESC LIMIT 1];
    insert new Account(Id = opp.AccountId, AnnualRevenue = opp.Amount, LargestWonOpportunity=opp.Id);
    decorate w/ @InvocableMethod
    bulkify using map
    let rest for about 4 minutes
    garnish with documentation
    serve to Flow creators so they can reuse the action in other Flows in just one node (...or just make a subflow of what's shown in the video LOL)

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

      Maybe we can do a collaboration implementing the code version of this and comparing it to the flow version.

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

    Thank you Warren. Getting Good practises from you. Need more and more scenario based flows. Thank so much