Blogs
-
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”. Requirement: 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…
-
Use a single scheduled job to run multiple batch class dynamically
It’s very typical to run batch jobs using scheduled job in each org. I’ve seen developers to develop different scheduled job for each batch class which cost not only extra redundant code but also lot of overhead of complexity and test code liability. So, I just developed a way to use a single scheduled jobs…
-
Use a single scheduled job to run multiple batch class dynamically
It’s very typical to run batch jobs using scheduled job in each org. I’ve seen developers to develop different scheduled job for each batch class which cost not only extra redundant code but also lot of overhead of complexity and test code liability. So, I just developed a way to use a single scheduled jobs…