Java and Activities

Apply programming logic to any application.

Get Started

An activity is a rule that corresponds in many ways to a traditional, procedural program in any programming language. Application designers who have programming experience often find activity rules in Pega easy to learn and understand. 

Java and Activities Overview   |   Libraries and Functions

Java and Activities article index

Dig Deeper

Browse the information below to discover how Java and Activities in Pega provide focus and structure in your application.


Reference a specific instruction, known as a method, in each step as you use activity rules. Methods allow developers to manage activities efficiently.

When to set the WriteNow parameter in the Obj-Sav and Obj-Delete methods

Building and Testing Activities

Activity rules are similar to programs in traditional programming languages as they contain a sequence of procedural, atomic steps that are by default executed top down, can perform calculations, can retrieve, update and save data, call other activities, and contain loops or iterations.

Save work object details in embedded pages 

Java in Activities and Other Rules

In a Java step, the step page must exist before you enter your Java code. Browse this portion of Java and Activities articles and support info to learn more about Connect Java rules, Java steps, and more.

A Java step requires an existing step page

Training and Support


Build and validate your skills

Find the training that works for you and invest in your success.


Get the help you need

Search support articles, community posts, and open support requests.

Video Library

Watch the latest videos

Browse our growing video library and maximize your Pega investment.