SlideShare a Scribd company logo
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

What's hot

Pega 50+ interview Q&A.pdf
Pega 50+ interview Q&A.pdfPega 50+ interview Q&A.pdf
Pega 50+ interview Q&A.pdf
naniats1
 
Database Connectivity in PHP
Database Connectivity in PHPDatabase Connectivity in PHP
Database Connectivity in PHP
Taha Malampatti
 
Pega prpc tutorials for beginners
Pega prpc tutorials for beginnersPega prpc tutorials for beginners
Pega prpc tutorials for beginners
Ashock Roy
 
Master page in Asp.net
Master page in Asp.netMaster page in Asp.net
Master page in Asp.net
RupinderjitKaur9
 
sets and maps
 sets and maps sets and maps
sets and maps
Rajkattamuri
 
PEGA SAE-2 Materials | pega CSA Training in Bangalore
PEGA SAE-2 Materials | pega CSA Training in Bangalore PEGA SAE-2 Materials | pega CSA Training in Bangalore
PEGA SAE-2 Materials | pega CSA Training in Bangalore
Ashock Kumar
 
jQuery Ajax
jQuery AjaxjQuery Ajax
jQuery Ajax
Anand Kumar Rajana
 
Servlets
ServletsServlets
Servlets
ZainabNoorGul
 
Pega certification dumps
Pega certification dumpsPega certification dumps
Pega certification dumps
Ashock Roy
 
Jsf presentation
Jsf presentationJsf presentation
Jsf presentation
Ashish Gupta
 
Pega sample resume
Pega sample resumePega sample resume
Pega sample resume
Ashock Roy
 
Pega 7 CSA DUMPS,pega csa dumps
Pega 7 CSA DUMPS,pega csa dumps Pega 7 CSA DUMPS,pega csa dumps
Pega 7 CSA DUMPS,pega csa dumps
Ashock Roy
 
Oops concepts in php
Oops concepts in phpOops concepts in php
Oops concepts in php
CPD INDIA
 
ASP.NET Page Life Cycle
ASP.NET Page Life CycleASP.NET Page Life Cycle
ASP.NET Page Life Cycle
Abhishek Sur
 
Introduction to java beans
Introduction to java beansIntroduction to java beans
Introduction to java beans
Hitesh Parmar
 
pega training with project level Trainingwhatsup@8142976573
pega training  with project level Trainingwhatsup@8142976573pega training  with project level Trainingwhatsup@8142976573
pega training with project level Trainingwhatsup@8142976573
Santhoo Vardan
 
ASP.NET Web API
ASP.NET Web APIASP.NET Web API
ASP.NET Web APIhabib_786
 
Android & PostgreSQL
Android & PostgreSQLAndroid & PostgreSQL
Android & PostgreSQL
Mark Wong
 
Bootstrap 4 ppt
Bootstrap 4 pptBootstrap 4 ppt
Bootstrap 4 ppt
EPAM Systems
 
Pega poc | Pega projects
Pega poc | Pega projectsPega poc | Pega projects
Pega poc | Pega projects
Ashock Roy
 

What's hot (20)

Pega 50+ interview Q&A.pdf
Pega 50+ interview Q&A.pdfPega 50+ interview Q&A.pdf
Pega 50+ interview Q&A.pdf
 
Database Connectivity in PHP
Database Connectivity in PHPDatabase Connectivity in PHP
Database Connectivity in PHP
 
Pega prpc tutorials for beginners
Pega prpc tutorials for beginnersPega prpc tutorials for beginners
Pega prpc tutorials for beginners
 
Master page in Asp.net
Master page in Asp.netMaster page in Asp.net
Master page in Asp.net
 
sets and maps
 sets and maps sets and maps
sets and maps
 
PEGA SAE-2 Materials | pega CSA Training in Bangalore
PEGA SAE-2 Materials | pega CSA Training in Bangalore PEGA SAE-2 Materials | pega CSA Training in Bangalore
PEGA SAE-2 Materials | pega CSA Training in Bangalore
 
jQuery Ajax
jQuery AjaxjQuery Ajax
jQuery Ajax
 
Servlets
ServletsServlets
Servlets
 
Pega certification dumps
Pega certification dumpsPega certification dumps
Pega certification dumps
 
Jsf presentation
Jsf presentationJsf presentation
Jsf presentation
 
Pega sample resume
Pega sample resumePega sample resume
Pega sample resume
 
Pega 7 CSA DUMPS,pega csa dumps
Pega 7 CSA DUMPS,pega csa dumps Pega 7 CSA DUMPS,pega csa dumps
Pega 7 CSA DUMPS,pega csa dumps
 
Oops concepts in php
Oops concepts in phpOops concepts in php
Oops concepts in php
 
ASP.NET Page Life Cycle
ASP.NET Page Life CycleASP.NET Page Life Cycle
ASP.NET Page Life Cycle
 
Introduction to java beans
Introduction to java beansIntroduction to java beans
Introduction to java beans
 
pega training with project level Trainingwhatsup@8142976573
pega training  with project level Trainingwhatsup@8142976573pega training  with project level Trainingwhatsup@8142976573
pega training with project level Trainingwhatsup@8142976573
 
ASP.NET Web API
ASP.NET Web APIASP.NET Web API
ASP.NET Web API
 
Android & PostgreSQL
Android & PostgreSQLAndroid & PostgreSQL
Android & PostgreSQL
 
Bootstrap 4 ppt
Bootstrap 4 pptBootstrap 4 ppt
Bootstrap 4 ppt
 
Pega poc | Pega projects
Pega poc | Pega projectsPega poc | Pega projects
Pega poc | Pega projects
 

Similar to PEGA Activity and Its Methods

Bn1038 demo pega
Bn1038 demo  pegaBn1038 demo  pega
Bn1038 demo pega
conline training
 
Edgewater Consulting Mastering SharePoint Designer Workflows
Edgewater Consulting Mastering SharePoint Designer WorkflowsEdgewater Consulting Mastering SharePoint Designer Workflows
Edgewater Consulting Mastering SharePoint Designer Workflows
Edgewater
 
Parallelminds.asp.net with sp
Parallelminds.asp.net with spParallelminds.asp.net with sp
Parallelminds.asp.net with sp
parallelminder
 
Asp dot net lifecycle in details
Asp dot net lifecycle in detailsAsp dot net lifecycle in details
Asp dot net lifecycle in details
Ayesha Khan
 
Why ASP.NET Development is Important?
Why ASP.NET Development is Important?Why ASP.NET Development is Important?
Why ASP.NET Development is Important?
Ayesha Khan
 
Activity diag
Activity diagActivity diag
Activity diag
Preeti Mishra
 
Nose Dive into Apache Spark ML
Nose Dive into Apache Spark MLNose Dive into Apache Spark ML
Nose Dive into Apache Spark ML
Ahmet Bulut
 
TAG Presents: NetSuite SuiteFlow 101
TAG Presents: NetSuite SuiteFlow 101 TAG Presents: NetSuite SuiteFlow 101
TAG Presents: NetSuite SuiteFlow 101
TAG
 
Qtp Training
Qtp TrainingQtp Training
Qtp Trainingmehramit
 
Salesforce Lightning Process builder
Salesforce Lightning Process builderSalesforce Lightning Process builder
Salesforce Lightning Process builder
Thinqloud
 
Automate business processes using SharePoint Designer Workflows
Automate business processes using SharePoint Designer WorkflowsAutomate business processes using SharePoint Designer Workflows
Automate business processes using SharePoint Designer Workflows
Edgewater
 
Silicon Valley Code Camp - JSF Controller for Reusability
Silicon Valley Code Camp - JSF Controller for ReusabilitySilicon Valley Code Camp - JSF Controller for Reusability
Silicon Valley Code Camp - JSF Controller for Reusability
jcruizjdev
 
Analysis modeling
Analysis modelingAnalysis modeling
Analysis modeling
Preeti Mishra
 
Data stage
Data stageData stage
Data stage
Sai Kiran
 
Introduction To Work Item Customisation
Introduction To Work Item CustomisationIntroduction To Work Item Customisation
Introduction To Work Item Customisationwbarthol
 
Qtp Presentation
Qtp PresentationQtp Presentation
Qtp Presentationtechgajanan
 
SplunkLive! Advanced Session
SplunkLive! Advanced SessionSplunkLive! Advanced Session
SplunkLive! Advanced SessionSplunk
 
Alfresco tech talk live share extensibility metadata and actions for 4.1
Alfresco tech talk live share extensibility metadata and actions for 4.1Alfresco tech talk live share extensibility metadata and actions for 4.1
Alfresco tech talk live share extensibility metadata and actions for 4.1
Alfresco Software
 
SFDC UI - Advanced Visualforce
SFDC UI - Advanced VisualforceSFDC UI - Advanced Visualforce
SFDC UI - Advanced Visualforce
Sujit Kumar
 

Similar to PEGA Activity and Its Methods (20)

Bn1038 demo pega
Bn1038 demo  pegaBn1038 demo  pega
Bn1038 demo pega
 
Edgewater Consulting Mastering SharePoint Designer Workflows
Edgewater Consulting Mastering SharePoint Designer WorkflowsEdgewater Consulting Mastering SharePoint Designer Workflows
Edgewater Consulting Mastering SharePoint Designer Workflows
 
Parallelminds.asp.net with sp
Parallelminds.asp.net with spParallelminds.asp.net with sp
Parallelminds.asp.net with sp
 
Asp dot net lifecycle in details
Asp dot net lifecycle in detailsAsp dot net lifecycle in details
Asp dot net lifecycle in details
 
Why ASP.NET Development is Important?
Why ASP.NET Development is Important?Why ASP.NET Development is Important?
Why ASP.NET Development is Important?
 
Activity diag
Activity diagActivity diag
Activity diag
 
Nose Dive into Apache Spark ML
Nose Dive into Apache Spark MLNose Dive into Apache Spark ML
Nose Dive into Apache Spark ML
 
TAG Presents: NetSuite SuiteFlow 101
TAG Presents: NetSuite SuiteFlow 101 TAG Presents: NetSuite SuiteFlow 101
TAG Presents: NetSuite SuiteFlow 101
 
Qtp Training
Qtp TrainingQtp Training
Qtp Training
 
Salesforce Lightning Process builder
Salesforce Lightning Process builderSalesforce Lightning Process builder
Salesforce Lightning Process builder
 
Automate business processes using SharePoint Designer Workflows
Automate business processes using SharePoint Designer WorkflowsAutomate business processes using SharePoint Designer Workflows
Automate business processes using SharePoint Designer Workflows
 
Silicon Valley Code Camp - JSF Controller for Reusability
Silicon Valley Code Camp - JSF Controller for ReusabilitySilicon Valley Code Camp - JSF Controller for Reusability
Silicon Valley Code Camp - JSF Controller for Reusability
 
Analysis modeling
Analysis modelingAnalysis modeling
Analysis modeling
 
Data stage
Data stageData stage
Data stage
 
Introduction To Work Item Customisation
Introduction To Work Item CustomisationIntroduction To Work Item Customisation
Introduction To Work Item Customisation
 
Qtp Presentation
Qtp PresentationQtp Presentation
Qtp Presentation
 
SplunkLive! Advanced Session
SplunkLive! Advanced SessionSplunkLive! Advanced Session
SplunkLive! Advanced Session
 
Qtp Training
Qtp TrainingQtp Training
Qtp Training
 
Alfresco tech talk live share extensibility metadata and actions for 4.1
Alfresco tech talk live share extensibility metadata and actions for 4.1Alfresco tech talk live share extensibility metadata and actions for 4.1
Alfresco tech talk live share extensibility metadata and actions for 4.1
 
SFDC UI - Advanced Visualforce
SFDC UI - Advanced VisualforceSFDC UI - Advanced Visualforce
SFDC UI - Advanced Visualforce
 

Recently uploaded

Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 

Recently uploaded (20)

Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 

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