Posts

Showing posts from 2019

Simple exercise on Jenkins integration with Pega 722 or Pega Infinity (localhost)

Image
Use DevOps practices such as continuous integration and continuous delivery to quickly move application changes from development through testing to deployment on your production system. Use Pega Platform™ tools and common third-party tools to implement DevOps.  With continuous integration, application developers frequently check in their changes to the source environment and use an automated build process to automatically verify these changes. Continuous integration identifies issues and pinpoints them early in the cycle. Use Jenkins with the prpcServiceUtils tool and the execute test service to automatically generate a potentially deployable application and export the application archive to a binary repository such as JFrog Artifactory.  You can use Jenkins to automate exporting and importing Pega 7 Platform applications. Download the " prpcServiceUtils " command-line tool and configure Jenkins to export or import archives. You can use a single Jenkins b...

Easy to create our own android mob app using Pega V8.1

Image
Here I am sharing a very simple Pega application (HRServices) running on android device/Saucelabs after following certain easy steps J . The pre-requisite for this exercise to perform at your end using V81 local is the Key Store (Certificate). We can generate our own Key Store using java utility(keytool) at our JDK path and the details are given below. After finishing this step, the remaining exercise is very easy to build the app to generate a QR code to launch it from the real device or we can download the APK file to work on the app from Saucelabs.  Hope this will be a good idea for the folks who don’t know on building the mobile app using Pega. Those who would like to know more on the login credentials & QR code for this exercise, pls contact me offline. Step1: Create our own keystore file before we go to next step. There is a “keytool” command to run at command line. Command: keytool -genkey -v -keystore C:\Users\rpisupat\Documents\Certificates\MobApp\MyKeystore.key...

My preparation of Certified Pega Decisioning Consultant (CPDC) exam

Image
The Certified Pega Decisioning Consultant (CPDC) certification is for professionals participating in the design and development of a Pega Customer Decision Hub solution. This certification ensures you have the skills to apply design principles of Decision Strategies, Next-Best-Action, as well as Predictive Analytics. The CPDC 7.4 exam includes multiple choice questions(63 questions in 90 mins) and the pass mark is 70%. Prerequisites: Pega Decisioning Consultant 7.4 course from Pega community site Pega Decisioning Consultant 7.4 Practice Exam from the Pega community site Below are the exam Topics (% of exam) while preparing: Next-Best-Action (19%) Decision Strategy (33%) Decision Simulations (8%) Predictive Analytics (40%) After getting the above info, I started preparing for the exam in a plan and here is my way of preparation. 1) First 2 weeks, I have focused on the course to read all the topics and finished all the sample exercises from the cloud environment. Da...

My small PoC on Alexa integration using Pega V7.4 Personal Edition

Image
Finally I was successful in integrating Alexa with Pega V7.4 PE. Though it looks simple but is tricky to setup the configuration from both Alexa and Pega side. To perform this whole PoC, we need to install the AlexaChannel component from Pega and do the connection settings accordingly. Using developer.alexa.com site, we need to create a skill (eg: account balance) and the corresponding intents to finish the Build Model from Alexa. Once we are done, we need to call our Pega API service (REST) call from Alexa using Endpoint configuration and we are done to test the skill using Alexa developer console => Test menu. Once you start typing the command in that console (eg:balance, what is my balance etc), Alexa calls Pega REST API and respond to the asked commands. Pega V7.4 side configuration ·         After installation of “AlexaChannel_20180703T133432007” package/component from PDN, we need to add it in our Application rule and make sure ...

Sample Web Chatbot design using Pega V8.3

Image
Build a Pega Intelligent Virtual Assistant™ (IVA) for Web Chatbot by adding the training tasks to the model. You can createa sample training data, map the entities, add the training data to the model, and when ready, rebuild the model. In this post we can focus on how to add several instances of same user input to train the model so that IVA for Web Chatbot improves how it responds to the text you enter, using artificial intelligence. Here are the steps to follow: 1) Create the "Insurance Quote" case type that is related to a car insurance quote. 2) Add data types for a car insurance quote such as color, make, model, registration date, VIN (vehicle identification number), and model year. 3) Make sure to instantiate a "Web Chatbot" (Eg:Web Chat) interface from Application Menu => Channels and interfaces landing page. Add the case type in the Content section with a create case command of "insurance".  Make sure to enable the Text Analyzer's ...

Kafka usecases

Image
A brief overview of Kafa platform: Apache Kafka is a streaming platform which enables users to publish data and also subscribe to different streams of records. Kafka stores the streams in a fault tolerant way. It is used to build reliable real-time streaming data pipelines. Further, it runs as a cluster and implements the concept of topics or feed name which records are published to. Kafka has great performance, and it is stable, provides reliable durability, has a flexible publish-subscribe/queue that scales well with N-number of consumer groups, has robust replication, provides Producers with tunable consistency guarantees, and it provides preserved ordering. Usecase#1: App Analytics Realtime Dashboard (AARD) Develop a scalable system which can do real-time analytics for different health applications. The occurrence of different health conditions can be regarded as the complex events and thus this concept can be extended to other use cases easily. Large number of users s...

How to find and delete the Inactive records for a particular class from a Pega application?

Image
When I was checking for something in the Report Definition rules, I got a rule: pxLoadRelevantRecordsForRecord . This report is used to pull all the active records from the system based on the context class. With this report, we can list out all the Inactive rules for our application specific class and cross check them before deletion from the system. We can build a small utility sat for example: RemoveInactiveRecords and from this activity we can call this final RD rule and pass the necessary parameters to pull the inactive list of rules instances. Once we get the list on the clipboard page, we can build the clean-up logic in the same activity or another activity to do that. The highlighted filter drives whether we need active or inactive records. Similarly, we can pass the parameter to the column: pxContextClass (Eg:Data-) from the utility by using “ Call Rule-Obj-Report-Definition.pxRetrieveReportData ”. See below for more details on how to call and pass the parameters to this R...

Pega Savable Datapages

Image
Till now we used datapages to fetch and store the data for later uses. Pega did add an extra feature: Savable Datapage ( Pega V74 and later ) which is to save the data using a datapage. We can define a data page to save data to a system of record by using save plans. By using save plans, you can save the updated information after without an activity. Reference: https://community.pega.com/sites/default/files/help_v82/procomhelpmain.htm#rule-/rule-declare-/rule-declare-pages/dm-savable-data-pages-con.htm Sample Usecase: Assume that we are getting customer details like Account Number, Address, Phone Number etc., from an external database. User has the ability to change the address/phone#. Once the user updates any of the details, we need to update the external database. Without Savable datapage: We use a datapage to store the customer details to avoid multiple calls for the same data (if needed multiple times). Whenever the details are changed we use an activity logic to sen...