SlideShare a Scribd company logo
Relax
Effortlessly manage
your Batch and Scheduled Apex processes
Zach McElrath, Skuid, Lead Developer
@zachelrath
(un) Safe harbor
Safe harbor statement under the Private Securities Litigation Reform Act of 1995:
This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such
uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from
the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact
could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues,
or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief,
any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our
services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new
functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in
our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of
any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate,
our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new
releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and
utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of
salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form
10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC
Filings section of the Investor Information section of our Web site.
Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently
available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions
based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these
forward-looking statements.
Testing the waters
Have you ever…
▪ Written Scheduled Apex?
• Tried to deploy Scheduled Apex between orgs, and had to manually delete each
Scheduled Job, 1-by-1, then recreate them, 1-by-1?

▪ Written Batch Apex?
• Tried to run a sequence of Batch Apex jobs one after the other?
• Wished you could run a sequence of Batch Apex jobs every 15 minutes, every
day --- without recoding the “sequence keep-alive” logic in the finish() method of
every Batch Apex class?
Relax lets you…
1. Manage your individually-Scheduled Apex jobs
▪

Activate/deactivate en masse, deploy via data loader, mass edit

2. Run scheduled sequences of Batch Apex jobs, as often as every 5
minutes, every day, without writing any additional code
3. Easily reuse common Batch Apex code
DEMO 1:
Mass-schedule, deactivate, and activate a
group of Scheduled Apex Jobs with Relax
Standard method for scheduling an Apex job: 1 by 1
Standard method for managing jobs: 1 by 1
Hassles with standard scheduled job management
1. Jobs have to be created 1-by-1
2. Jobs have to be unscheduled 1-by-1 in order to:
1.

Make changes to any code that is referenced by a job’s Apex Class

2.

Deploy changes to code that referenced by a job’s Apex Class

3.

Change the Apex Class associated with a job
The Relax alternative: mass-management of jobs
Individually-scheduling an Apex Class with Relax
1. Enter Job Name
2. Pick an Apex Class
that implements the
Schedulable interface
3. Enter Cron Schedule
DEMO 2:
Create an ordered sequence of Relax Jobs
that Relax will run every minute
Batchable Apex class that Relax can schedule
(another) Batchable Apex class that Relax can schedule
Batch Apex, scheduled with Relax
DEMO 3:
Use Relax Job parameters to rapidly create
scheduled, batch Mass Update jobs
Leveraging Relax Job Parameters: Mass Update
How do I get my hands on this???
Relax is free and open-source!
1. Install from AppExchange (bit.ly/install-relax)
2. Contribute / enhance via Github (bit.ly/about-relax)
▪ Disclaimer: I have a full-time job at Skuid. And, hopefully, a life.
Zach McElrath
Lead Developer,
@zachelrath

bit.ly/install-relax
bit.ly/about-relax
Managing Your Batch and Scheduled Apex Processes with Relax

More Related Content

PPTX
Episode 19 - Asynchronous Apex - Batch apex & schedulers
Jitendra Zaa
 
PPTX
Salesforce asynchronous apex
Badan Singh Pundeer
 
PPTX
Intro to the Alfresco Public API
Jeff Potts
 
PPT
Apex Trigger Debugging: Solving the Hard Problems
Salesforce Developers
 
PPTX
Batchable vs @future vs Queueable
Boris Bachovski
 
PPTX
Alfresco Certificates
Angel Borroy López
 
PPTX
Data model in salesforce
Chamil Madusanka
 
PPTX
(Re)Indexing Large Repositories in Alfresco
Angel Borroy López
 
Episode 19 - Asynchronous Apex - Batch apex & schedulers
Jitendra Zaa
 
Salesforce asynchronous apex
Badan Singh Pundeer
 
Intro to the Alfresco Public API
Jeff Potts
 
Apex Trigger Debugging: Solving the Hard Problems
Salesforce Developers
 
Batchable vs @future vs Queueable
Boris Bachovski
 
Alfresco Certificates
Angel Borroy López
 
Data model in salesforce
Chamil Madusanka
 
(Re)Indexing Large Repositories in Alfresco
Angel Borroy López
 

What's hot (20)

PDF
Salesforce+Admin.pptx.pdf
ShashankSingh635894
 
PDF
Introduction to Apex Triggers
Salesforce Developers
 
PDF
Enabling Vectorized Engine in Apache Spark
Kazuaki Ishizaki
 
PDF
Oracleのトランケートについて知っておくべきこと
Kazuhiro Takahashi
 
PDF
MVC in PHP
Vineet Kumar Saini
 
PPTX
Episode 20 - Trigger Frameworks in Salesforce
Jitendra Zaa
 
PPTX
Draft: building secure applications with keycloak (oidc/jwt)
Abhishek Koserwal
 
PDF
Introduction to the Salesforce Security Model
Salesforce Developers
 
PPTX
SharePoint Overview
Amy Phillips
 
PPTX
Microsoft Teams Governance and Security Best Practices - Joel Oleson
Joel Oleson
 
PDF
Step-by-Step: APEX Installation on Tomcat (Windows Server 2016)
sheriframadan18
 
PPTX
Batch Apex in Salesforce
David Helgerson
 
PPTX
Deep Dive into Apache Kafka
confluent
 
PDF
Apex Enterprise Patterns: Building Strong Foundations
Salesforce Developers
 
PDF
[❤PDF❤] Oracle 19c Database Administration Oracle Simplified
ZanderHaney
 
PDF
Generically Call External Classes from Managed Packages
Salesforce Developers
 
PPTX
Oracle 23c New Features For DBAs and Developers.pptx
Remote DBA Services
 
PPTX
Integrating with salesforce
Mark Adcock
 
PDF
Terraform Best Practices - DevOps Unicorns 2019
Anton Babenko
 
PPTX
Introduction to KSQL: Streaming SQL for Apache Kafka®
confluent
 
Salesforce+Admin.pptx.pdf
ShashankSingh635894
 
Introduction to Apex Triggers
Salesforce Developers
 
Enabling Vectorized Engine in Apache Spark
Kazuaki Ishizaki
 
Oracleのトランケートについて知っておくべきこと
Kazuhiro Takahashi
 
MVC in PHP
Vineet Kumar Saini
 
Episode 20 - Trigger Frameworks in Salesforce
Jitendra Zaa
 
Draft: building secure applications with keycloak (oidc/jwt)
Abhishek Koserwal
 
Introduction to the Salesforce Security Model
Salesforce Developers
 
SharePoint Overview
Amy Phillips
 
Microsoft Teams Governance and Security Best Practices - Joel Oleson
Joel Oleson
 
Step-by-Step: APEX Installation on Tomcat (Windows Server 2016)
sheriframadan18
 
Batch Apex in Salesforce
David Helgerson
 
Deep Dive into Apache Kafka
confluent
 
Apex Enterprise Patterns: Building Strong Foundations
Salesforce Developers
 
[❤PDF❤] Oracle 19c Database Administration Oracle Simplified
ZanderHaney
 
Generically Call External Classes from Managed Packages
Salesforce Developers
 
Oracle 23c New Features For DBAs and Developers.pptx
Remote DBA Services
 
Integrating with salesforce
Mark Adcock
 
Terraform Best Practices - DevOps Unicorns 2019
Anton Babenko
 
Introduction to KSQL: Streaming SQL for Apache Kafka®
confluent
 
Ad

Similar to Managing Your Batch and Scheduled Apex Processes with Relax (20)

PDF
Design Patterns for Asynchronous Apex
Salesforce Developers
 
PDF
Introduction to Apex Triggers
Salesforce Developers
 
PDF
Introduction to Apex Triggers
Salesforce Developers
 
PPTX
Building Command-line Tools with the Tooling API
Jeff Douglas
 
PDF
The Apex Interactive Debugger
Salesforce Developers
 
PDF
Planning Your Migration to the Lightning Experience
Shell Black
 
PPTX
Getting to Grips with Process Builder
Richard Clark
 
PDF
Transition to the Lightning Experience: Pro Tips, Tools and a Transition Stra...
Shell Black
 
PPTX
Elevate Madrid Essentials - Advance Track
CarolEnLaNube
 
PDF
Introduction to Force.com
Salesforce Developers
 
PDF
From Sandbox To Production: An Introduction to Salesforce Release Management
Salesforce Developers
 
PPTX
Release Management: Managing Your Internal Releases
Joshua Hoskins
 
PDF
Coding for Declarative Customizations: How We Do It in Salesforce.com IT
Salesforce Developers
 
PDF
Managing Change With A Sensible Sandbox Architecture
Alexander Sutherland
 
PPTX
Flows in the Service Console, Gotta Go with the Flow! by Duncan Stewart
Salesforce Admins
 
PPTX
Lightning Fast Tips For Your Lightning Roll Out by Kim Schaefges, Nicole Dams...
Salesforce Admins
 
PDF
Webinar: From Sandbox to Production: Demystifying Force.com Release Managemen...
Salesforce Developers
 
PDF
Apex Nuances: Transitioning to Force.com Development
Salesforce Developers
 
PDF
Five Developer Tips Every Admin Needs To Know
Salesforce Developers
 
PDF
Bulkify Your Org
Salesforce Developers
 
Design Patterns for Asynchronous Apex
Salesforce Developers
 
Introduction to Apex Triggers
Salesforce Developers
 
Introduction to Apex Triggers
Salesforce Developers
 
Building Command-line Tools with the Tooling API
Jeff Douglas
 
The Apex Interactive Debugger
Salesforce Developers
 
Planning Your Migration to the Lightning Experience
Shell Black
 
Getting to Grips with Process Builder
Richard Clark
 
Transition to the Lightning Experience: Pro Tips, Tools and a Transition Stra...
Shell Black
 
Elevate Madrid Essentials - Advance Track
CarolEnLaNube
 
Introduction to Force.com
Salesforce Developers
 
From Sandbox To Production: An Introduction to Salesforce Release Management
Salesforce Developers
 
Release Management: Managing Your Internal Releases
Joshua Hoskins
 
Coding for Declarative Customizations: How We Do It in Salesforce.com IT
Salesforce Developers
 
Managing Change With A Sensible Sandbox Architecture
Alexander Sutherland
 
Flows in the Service Console, Gotta Go with the Flow! by Duncan Stewart
Salesforce Admins
 
Lightning Fast Tips For Your Lightning Roll Out by Kim Schaefges, Nicole Dams...
Salesforce Admins
 
Webinar: From Sandbox to Production: Demystifying Force.com Release Managemen...
Salesforce Developers
 
Apex Nuances: Transitioning to Force.com Development
Salesforce Developers
 
Five Developer Tips Every Admin Needs To Know
Salesforce Developers
 
Bulkify Your Org
Salesforce Developers
 
Ad

More from Salesforce Developers (20)

PDF
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Salesforce Developers
 
PDF
Maximizing Salesforce Lightning Experience and Lightning Component Performance
Salesforce Developers
 
PDF
Local development with Open Source Base Components
Salesforce Developers
 
PPTX
TrailheaDX India : Developer Highlights
Salesforce Developers
 
PDF
Why developers shouldn’t miss TrailheaDX India
Salesforce Developers
 
PPTX
CodeLive: Build Lightning Web Components faster with Local Development
Salesforce Developers
 
PPTX
CodeLive: Converting Aura Components to Lightning Web Components
Salesforce Developers
 
PPTX
Enterprise-grade UI with open source Lightning Web Components
Salesforce Developers
 
PPTX
TrailheaDX and Summer '19: Developer Highlights
Salesforce Developers
 
PDF
Live coding with LWC
Salesforce Developers
 
PDF
Lightning web components - Episode 4 : Security and Testing
Salesforce Developers
 
PDF
LWC Episode 3- Component Communication and Aura Interoperability
Salesforce Developers
 
PDF
Lightning web components episode 2- work with salesforce data
Salesforce Developers
 
PDF
Lightning web components - Episode 1 - An Introduction
Salesforce Developers
 
PDF
Migrating CPQ to Advanced Calculator and JSQCP
Salesforce Developers
 
PDF
Scale with Large Data Volumes and Big Objects in Salesforce
Salesforce Developers
 
PDF
Replicate Salesforce Data in Real Time with Change Data Capture
Salesforce Developers
 
PDF
Modern Development with Salesforce DX
Salesforce Developers
 
PDF
Get Into Lightning Flow Development
Salesforce Developers
 
PDF
Integrate CMS Content Into Lightning Communities with CMS Connect
Salesforce Developers
 
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Salesforce Developers
 
Maximizing Salesforce Lightning Experience and Lightning Component Performance
Salesforce Developers
 
Local development with Open Source Base Components
Salesforce Developers
 
TrailheaDX India : Developer Highlights
Salesforce Developers
 
Why developers shouldn’t miss TrailheaDX India
Salesforce Developers
 
CodeLive: Build Lightning Web Components faster with Local Development
Salesforce Developers
 
CodeLive: Converting Aura Components to Lightning Web Components
Salesforce Developers
 
Enterprise-grade UI with open source Lightning Web Components
Salesforce Developers
 
TrailheaDX and Summer '19: Developer Highlights
Salesforce Developers
 
Live coding with LWC
Salesforce Developers
 
Lightning web components - Episode 4 : Security and Testing
Salesforce Developers
 
LWC Episode 3- Component Communication and Aura Interoperability
Salesforce Developers
 
Lightning web components episode 2- work with salesforce data
Salesforce Developers
 
Lightning web components - Episode 1 - An Introduction
Salesforce Developers
 
Migrating CPQ to Advanced Calculator and JSQCP
Salesforce Developers
 
Scale with Large Data Volumes and Big Objects in Salesforce
Salesforce Developers
 
Replicate Salesforce Data in Real Time with Change Data Capture
Salesforce Developers
 
Modern Development with Salesforce DX
Salesforce Developers
 
Get Into Lightning Flow Development
Salesforce Developers
 
Integrate CMS Content Into Lightning Communities with CMS Connect
Salesforce Developers
 

Recently uploaded (20)

PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Software Development Methodologies in 2025
KodekX
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
The Future of Artificial Intelligence (AI)
Mukul
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Software Development Methodologies in 2025
KodekX
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 

Managing Your Batch and Scheduled Apex Processes with Relax

  • 1. Relax Effortlessly manage your Batch and Scheduled Apex processes Zach McElrath, Skuid, Lead Developer @zachelrath
  • 2. (un) Safe harbor Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  • 3. Testing the waters Have you ever… ▪ Written Scheduled Apex? • Tried to deploy Scheduled Apex between orgs, and had to manually delete each Scheduled Job, 1-by-1, then recreate them, 1-by-1? ▪ Written Batch Apex? • Tried to run a sequence of Batch Apex jobs one after the other? • Wished you could run a sequence of Batch Apex jobs every 15 minutes, every day --- without recoding the “sequence keep-alive” logic in the finish() method of every Batch Apex class?
  • 4. Relax lets you… 1. Manage your individually-Scheduled Apex jobs ▪ Activate/deactivate en masse, deploy via data loader, mass edit 2. Run scheduled sequences of Batch Apex jobs, as often as every 5 minutes, every day, without writing any additional code 3. Easily reuse common Batch Apex code
  • 5. DEMO 1: Mass-schedule, deactivate, and activate a group of Scheduled Apex Jobs with Relax
  • 6. Standard method for scheduling an Apex job: 1 by 1
  • 7. Standard method for managing jobs: 1 by 1
  • 8. Hassles with standard scheduled job management 1. Jobs have to be created 1-by-1 2. Jobs have to be unscheduled 1-by-1 in order to: 1. Make changes to any code that is referenced by a job’s Apex Class 2. Deploy changes to code that referenced by a job’s Apex Class 3. Change the Apex Class associated with a job
  • 9. The Relax alternative: mass-management of jobs
  • 10. Individually-scheduling an Apex Class with Relax 1. Enter Job Name 2. Pick an Apex Class that implements the Schedulable interface 3. Enter Cron Schedule
  • 11. DEMO 2: Create an ordered sequence of Relax Jobs that Relax will run every minute
  • 12. Batchable Apex class that Relax can schedule
  • 13. (another) Batchable Apex class that Relax can schedule
  • 14. Batch Apex, scheduled with Relax
  • 15. DEMO 3: Use Relax Job parameters to rapidly create scheduled, batch Mass Update jobs
  • 16. Leveraging Relax Job Parameters: Mass Update
  • 17. How do I get my hands on this??? Relax is free and open-source! 1. Install from AppExchange (bit.ly/install-relax) 2. Contribute / enhance via Github (bit.ly/about-relax) ▪ Disclaimer: I have a full-time job at Skuid. And, hopefully, a life.