SlideShare a Scribd company logo
5
Most read
6
Most read
7
Most read
PEGA
Overview
• An activity rule consists of a sequence of steps executed procedurally
• Custom activity rules are created when no other rule configuration is sufficient
• Typical use cases for using activities are:
– Integration
– Writing to Log file
– Creating a case
Definition
• Activity rules are most like traditional computer programs in
that they consist of a sequence of steps that are typically
performed in order.
• Each step contains a primitive operation known as a method.
• An activity rule can perform computations, create, update, or
delete objects.
When to use an Activity?
Operations when you need to write an Activity
There is no better technique available to do the necessary processing
- Saving records to the database with special requirements
- Deleting records from the database
- Background processes
- To use the property-set messages or page-set messages
Description – Structure of Activity step
A – Step number
B - The Label provides an identifier for the step that can be referred to from other steps. You can also put two slash characters as a
step
label to indicate not to execute the step.
C - The (Loop)Iteration allows setting up a loop through the elements of a Value List, Page List, Value Group or Page Group and performs the
provided activity method on each value or each embedded page.
D - The Precondition(When) provides a condition or When rule that, based on the result, causes the step to execute or be skipped. There is a
list of actions you can select from to indicate what needs to be done when the condition or When rule result is either True or False
E – Expand method to access to the parameters and options of the current method
Description – Structure of Activity step
F - The Method indicates which activity methodthe step will execute. The “expand method”
button is used to expand the parameters for the selected method or activity.
G -The Step Page identifies a Page to be used as the context for referenced properties within the
step.
H - The Description is text that explains to other developers the action that the step is
performing. As a best practice, always provide a comment for each activity step.
I - The Transition (Jump) is similar to the Precondition. After the step is executed, a condition is
evaluated. Based on the result, the activity may perform different actions such as jump to another
step or exit the activity.
J – Delete the step
Description – Common Methods
• Property-Set
Used to set the value of one or more properties.
• Call
Used to find and execute another activity. After the called activity completes, the calling
activity resumes processing.
• Page-Remove
Used to delete one or more named pages from the clipboard. If no page is specified, the page
referenced by the step page will be removed.
Description – Common Methods
Activity – Parameters
• The Parameters tab is used to identify any variables serving as input or output parameters. The Parameters tab has three sections.
1. Parameters
2. Local Variables
3. Local Action
A parameter page is a single page containing the parameter names and values for all the
parameters that are passed into an activity
Activity – Parameters
Activity – Pages & Classes tab
• Use the Pages & Classes Tab to:
• Specify the class of a new clipboard page.
• Specify the class of an existing clipboard page.
• Specify the class of pxResults, when looping
Activity – Pages & Classes tab
• Clipboard pages:
• Primary page is a clipboard page which has the same class as the “Applies To” class
of the activity (current context)
• Step page becomes the primary page for the duration of this step's execution. (the
step page becomes the new context)
Activity – Security tab
• The Security tab has few settings that allows to set
who can access the activity and how.
• Allow direct invocation from the client or a
service?
• The Require authentication to run checkbox,
• The Activity type
Methods and Instruction
Methods For Entire Clipboard Page Methods For Persistent Instances Methods For Connectors
Load-DataPage obj-Delete Connect-REST
Obj-Open Connect-SOAP
Obj-Save
Obj-Save-Cancel
Property methods Methods For HTML and XML streams
Apply-DataTransform Show-HTML
Property-Remove Show-Page
Show-Property
Show-Sream
Methods and Instructions
Other
Property-Map-DecisionTable
Property-Map-DecisionTree
Activity Usage
• Activity can be referred from different places. Based on the activity type configured in the security tab of the activity rule.
• Flow – Utility shape
• Flow Action – Pre-processing and Post-processing
• Section - Use an action-set to call an activity in the "Actions" tab of a cell property.
• Activity - Use Call instruction.
• Data page – Source / Save / PostLoadProcessing
• Service rule – Service activity
PEGA Activity and Its Methods

More Related Content

DOC
Pega poc | Pega projects
PDF
Pega Cssa Training With Real-time Project @santhoopega123@gmail.com&Whatsup@8...
DOC
Pega sample resume
DOC
pega cssa sample Resume
DOCX
Software Requirement Specification - Interest Rate Management
DOCX
Software engineering project(srs)!!
PDF
Bank managment system
DOCX
Project Management
Pega poc | Pega projects
Pega Cssa Training With Real-time Project @santhoopega123@gmail.com&Whatsup@8...
Pega sample resume
pega cssa sample Resume
Software Requirement Specification - Interest Rate Management
Software engineering project(srs)!!
Bank managment system
Project Management

What's hot (20)

PDF
Pega Training ( whats app : +919908107432)
DOCX
Pega overview
DOC
Pega decision rules
DOCX
Pega Mock questions
TXT
PEGA CSA QUESTIONS DUMBS
DOCX
What is rules in pega
DOCX
PEGA CSSA Dumps | PEGA 7.1 CSSA Dumps
PPT
System Models in Software Engineering SE7
PPTX
Dynamics CRM Harsha PPT
PPTX
Salesforce Tableau CRM - Quick Overview
ODP
Authentication & Authorization in ASPdotNet MVC
PDF
Aura Framework Overview
PPTX
PPTX
Liquibase for java developers
PDF
C#.net interview questions for dynamics 365 ce crm developers
PDF
C4model - Arquitectura de Software
PDF
Sap grc-access-control-solution
PPTX
An introduction to Salesforce
PDF
Apex Enterprise Patterns: Building Strong Foundations
PDF
Enterprise Integration - Solution Patterns From the Field
Pega Training ( whats app : +919908107432)
Pega overview
Pega decision rules
Pega Mock questions
PEGA CSA QUESTIONS DUMBS
What is rules in pega
PEGA CSSA Dumps | PEGA 7.1 CSSA Dumps
System Models in Software Engineering SE7
Dynamics CRM Harsha PPT
Salesforce Tableau CRM - Quick Overview
Authentication & Authorization in ASPdotNet MVC
Aura Framework Overview
Liquibase for java developers
C#.net interview questions for dynamics 365 ce crm developers
C4model - Arquitectura de Software
Sap grc-access-control-solution
An introduction to Salesforce
Apex Enterprise Patterns: Building Strong Foundations
Enterprise Integration - Solution Patterns From the Field
Ad

Similar to PEGA Activity and Its Methods (20)

PPT
Document about the Activities in Pega.ppt
PPTX
Extending Workflow Foundation With Custom Activities
PPTX
Introduction To Windows Workflow Foundation 4.0
PPT
People soft workflow by surya
PPTX
Defining business process and workflows
PPTX
Tibco business works
PPTX
Programming the Power Behind SharePoint Designer Workflow by Chris Beckett - ...
DOCX
Pega training institutes in INDIA
DOCX
PEGA 7 Course Content
DOCX
PEGA 7 Course Content (2)
PPT
People soft workflow by surya 2
DOCX
Pega 7 Online Training India/USA/UK/Aus
PDF
Into the Rabbithole - Evolved Web App Security Testing (OWASP AppSec DC)
PDF
Lab exercise 6
PDF
UiPath Veterans RPA Studio track program - Session 2: The fundamentals of Ui...
PPT
Activity
PPTX
Activity_Diagrams_inClass (1).pptx Activity_Diagrams_inClass (1).pptx
PPT
Ppt ooad ooad3unit
PPT
About work flow
DOCX
Pega training layman learning - call +91-741-626-7887
Document about the Activities in Pega.ppt
Extending Workflow Foundation With Custom Activities
Introduction To Windows Workflow Foundation 4.0
People soft workflow by surya
Defining business process and workflows
Tibco business works
Programming the Power Behind SharePoint Designer Workflow by Chris Beckett - ...
Pega training institutes in INDIA
PEGA 7 Course Content
PEGA 7 Course Content (2)
People soft workflow by surya 2
Pega 7 Online Training India/USA/UK/Aus
Into the Rabbithole - Evolved Web App Security Testing (OWASP AppSec DC)
Lab exercise 6
UiPath Veterans RPA Studio track program - Session 2: The fundamentals of Ui...
Activity
Activity_Diagrams_inClass (1).pptx Activity_Diagrams_inClass (1).pptx
Ppt ooad ooad3unit
About work flow
Pega training layman learning - call +91-741-626-7887
Ad

Recently uploaded (20)

PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Electronic commerce courselecture one. Pdf
PPTX
A Presentation on Artificial Intelligence
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PPTX
Machine Learning_overview_presentation.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Tartificialntelligence_presentation.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
MIND Revenue Release Quarter 2 2025 Press Release
“AI and Expert System Decision Support & Business Intelligence Systems”
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Assigned Numbers - 2025 - Bluetooth® Document
Network Security Unit 5.pdf for BCA BBA.
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Electronic commerce courselecture one. Pdf
A Presentation on Artificial Intelligence
SOPHOS-XG Firewall Administrator PPT.pptx
Machine Learning_overview_presentation.pptx
Machine learning based COVID-19 study performance prediction
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Unlocking AI with Model Context Protocol (MCP)
Digital-Transformation-Roadmap-for-Companies.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Tartificialntelligence_presentation.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?

PEGA Activity and Its Methods

  • 2. Overview • An activity rule consists of a sequence of steps executed procedurally • Custom activity rules are created when no other rule configuration is sufficient • Typical use cases for using activities are: – Integration – Writing to Log file – Creating a case
  • 3. Definition • Activity rules are most like traditional computer programs in that they consist of a sequence of steps that are typically performed in order. • Each step contains a primitive operation known as a method. • An activity rule can perform computations, create, update, or delete objects.
  • 4. When to use an Activity? Operations when you need to write an Activity There is no better technique available to do the necessary processing - Saving records to the database with special requirements - Deleting records from the database - Background processes - To use the property-set messages or page-set messages
  • 5. Description – Structure of Activity step A – Step number B - The Label provides an identifier for the step that can be referred to from other steps. You can also put two slash characters as a step label to indicate not to execute the step. C - The (Loop)Iteration allows setting up a loop through the elements of a Value List, Page List, Value Group or Page Group and performs the provided activity method on each value or each embedded page. D - The Precondition(When) provides a condition or When rule that, based on the result, causes the step to execute or be skipped. There is a list of actions you can select from to indicate what needs to be done when the condition or When rule result is either True or False E – Expand method to access to the parameters and options of the current method
  • 6. Description – Structure of Activity step F - The Method indicates which activity methodthe step will execute. The “expand method” button is used to expand the parameters for the selected method or activity. G -The Step Page identifies a Page to be used as the context for referenced properties within the step. H - The Description is text that explains to other developers the action that the step is performing. As a best practice, always provide a comment for each activity step. I - The Transition (Jump) is similar to the Precondition. After the step is executed, a condition is evaluated. Based on the result, the activity may perform different actions such as jump to another step or exit the activity. J – Delete the step
  • 7. Description – Common Methods • Property-Set Used to set the value of one or more properties. • Call Used to find and execute another activity. After the called activity completes, the calling activity resumes processing. • Page-Remove Used to delete one or more named pages from the clipboard. If no page is specified, the page referenced by the step page will be removed.
  • 9. Activity – Parameters • The Parameters tab is used to identify any variables serving as input or output parameters. The Parameters tab has three sections. 1. Parameters 2. Local Variables 3. Local Action A parameter page is a single page containing the parameter names and values for all the parameters that are passed into an activity
  • 11. Activity – Pages & Classes tab • Use the Pages & Classes Tab to: • Specify the class of a new clipboard page. • Specify the class of an existing clipboard page. • Specify the class of pxResults, when looping
  • 12. Activity – Pages & Classes tab • Clipboard pages: • Primary page is a clipboard page which has the same class as the “Applies To” class of the activity (current context) • Step page becomes the primary page for the duration of this step's execution. (the step page becomes the new context)
  • 13. Activity – Security tab • The Security tab has few settings that allows to set who can access the activity and how. • Allow direct invocation from the client or a service? • The Require authentication to run checkbox, • The Activity type
  • 14. Methods and Instruction Methods For Entire Clipboard Page Methods For Persistent Instances Methods For Connectors Load-DataPage obj-Delete Connect-REST Obj-Open Connect-SOAP Obj-Save Obj-Save-Cancel Property methods Methods For HTML and XML streams Apply-DataTransform Show-HTML Property-Remove Show-Page Show-Property Show-Sream
  • 16. Activity Usage • Activity can be referred from different places. Based on the activity type configured in the security tab of the activity rule. • Flow – Utility shape • Flow Action – Pre-processing and Post-processing • Section - Use an action-set to call an activity in the "Actions" tab of a cell property. • Activity - Use Call instruction. • Data page – Source / Save / PostLoadProcessing • Service rule – Service activity