Apex Trigger Practice (1) – Update Account Open Case Status

Question Hints:

Account is parent object of Case. Case’s status field is categorized into two types – Open or closed which can be tracked by field “IsClosed”.


On Account, there is a checkbox field “Has Open Case”, if there is any open Case under account, this field should be checked. Please make sure all scenarios ate covered.

Implementation Verification:

Upload your code in Github and provide the link of public repo in comment below, it will be reviewed based on availability and feedback will be shared.

P.S: Be honest, watch the clock to check your efficiency. Happy coding.

37 thoughts on “Apex Trigger Practice (1) – Update Account Open Case Status”

  1. Excellent post. I used to be checking continuously this weblog and I am impressed!
    Very useful info specifically the last part 🙂 I deal with such
    information much. I used to be looking for this particular info for a very long time.

    Thank you and best of luck.

    Feel free to surf to my web page – ok388 download pc

  2. Interesting blog! Is your theme custom made or
    did you download it from somewhere? A theme like yours with a
    few simple adjustements would really make my blog stand out.
    Please let me know where you got your theme. Appreciate

    Visit my homepage :: xe88 for android (918kiss-m.com)

  3. Fantastic goods from you, man. I have take into accout your stuff prior to and you’re simply extremely magnificent.
    I actually like what you’ve got right here, really like what you are stating and the way wherein you are saying
    it. You make it enjoyable and you continue to take care
    of to keep it smart. I cant wait to read far more from you.
    That is actually a terrific web site.

    Also visit my homepage; game ex888

  4. You’re so interesting! I do not suppose I have read something like that before.
    So great to discover another person with original thoughts on this issue.

    Really.. thank you for starting this up. This web site is something that’s needed on the internet,
    someone with a bit of originality!

    Also visit my page :: 918kiss 2 download android

  5. I like the helpful info you supply in your articles.
    I will bookmark your weblog and test again here regularly.

    I am reasonably certain I will be informed plenty of new stuff right here!
    Good luck for the next!

  6. I like what you guys tend to be up too. This sort of clever work and coverage!
    Keep up the great works guys I’ve incorporated you guys to my blogroll.

  7. I used to be recommended this web site through my cousin. I’m no longer certain whether this put up is
    written through him as nobody else recognize such designated
    approximately my trouble. You are incredible! Thanks! 0mniartist asmr

  8. Hey just wanted to give you a quick heads up and let you know
    a few of the images aren’t loading correctly.
    I’m not sure why but I think its a linking issue.
    I’ve tried it in two different internet browsers and both show the same
    results. asmr 0mniartist

  9. We’re a group of volunteers and starting a new scheme in our community.
    Your web site provided us with valuable information to work on. You have done an impressive job and our whole community will be grateful to you.
    asmr 0mniartist

  10. Currently it seems like Drupal is the top blogging platform out
    there right now. (from what I’ve read) Is that what you’re using on your blog?

    0mniartist asmr

  11. Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite some time and was hoping
    maybe you would have some experience with something like this.
    Please let me know if you run into anything. I truly enjoy reading
    your blog and I look forward to your new updates.
    0mniartist asmr

  12. Magnificent goods from you, man. I’ve take into account your stuff prior to and you
    are just extremely wonderful. I really like what you’ve
    bought here, really like what you are stating
    and the way in which through which you are saying it.
    You’re making it enjoyable and you still care for to
    stay it wise. I cant wait to read much more from you. That is really a wonderful web site.
    asmr 0mniartist

  13. My family members every time say that I am wasting my time here at net, except I know I am getting know-how everyday
    by reading thes fastidious content. 0mniartist asmr

  14. Greetings, I do believe your web site could possibly
    be having browser compatibility issues. When I take a look at your website in Safari, it looks fine however, if opening in IE, it’s got some overlapping issues.
    I merely wanted to provide you with a quick heads up!
    Aside from that, wonderful site! asmr 0mniartist

Comments are closed.