Skip to main content

Posts

Featured Post

How to set up JFrog Artifactory as a Repository in Pega.

Before delving into the topic, let's gain some understanding of what a repository is........... What is a repository? A repository is a centralized storage location where data, files, documents, or other digital assets are stored and managed. It serves as a single source of truth for organizing, versioning, and accessing these assets.  In the context of software development, a repository typically refers to a version control system, where developers store and manage source code, configuration files, documentation, and other project-related files. Version control systems like Git, Subversion (SVN), and Mercurial are commonly used repositories in software development. In addition to version control systems, repositories can also refer to databases, file systems, content management systems (CMS), or any other structured storage system used to manage digital assets. Overall, a repository provides a structured and organized way to store and manage digital assets, facilitating collaborat...
Recent posts

How to change the key in Data Type?

Let's imagine you have a recipe book (analogous to a database) with specific instructions for each recipe (analogous to rules for a data type). Each recipe has a key ingredient (analogous to a key in a database table) that makes it unique. Now, suppose you realize that a particular recipe's key ingredient needs to be changed, and you've already written down all the specific instructions for that recipe. If you catch this mistake right after creating the recipe, you can simply erase the instructions, change the key ingredient, and rewrite the instructions. However, if you discover this error later, after many copies of the recipe have been shared (analogous to rules being locked in an old version), things get trickier. In the digital world, this is like having a database table with predefined rules (recipe instructions) and realizing that you need to change the key (key ingredient). It's not as simple as starting from scratch, especially when the rules are already locked...

How to customize Guardrail warnings?

 In this article, I'll explain the process of personalizing Guardrail warnings by adding or removing them. 1.Customizing Guardrail warnings by adding your own. Create an activity called "CheckForCustomWarnings" within the Rule class where you intend to include additional warnings. Differentiate it from the existing "CheckForWarnings," which is present in all Rule classes and cannot be overridden due to its Final status. For instance, if you aim to append warnings to a Flow action, establish this activity in the Rule-Obj-FlowAction class. Implement the following Java code and set up the When condition accordingly. Following this implementation, if you leave the description of the Flow Action rule empty, the system will issue a severe warning as shown below. 2.Eliminate default(OOTB) Guardrail warnings. While it is not advisable to remove the default warnings, as they serve to verify if the developer's code adheres to best practices, there might be exceptional...

Gemini AI integration with Pega

What is Gemini AI? Gemini AI, developed by Google, represents a family of large language models that currently stands as one of the most advanced AI models created by Google. Here's a brief overview: Key Features : 1. MultiModal : Gemini seamlessly understands and responds across various formats such as text, code, images, and audio. This is a departure from most AI models that focus on a single modality. 2. Versatile : The Gemini AI family is available in three sizes - Ultra, Pro, and Nano - catering to a spectrum of tasks ranging from complex research to efficient on-device applications. 3. Safe : Gemini incorporates extensive safety checks to address concerns related to bias, toxicity, and other potential risks. 4. Accessible : Developers and businesses can access Gemini Pro through Google AI Studio (free) or Vertex AI (paid, offering more features). Now, let's integrate this with Pega. To integrate Gemini AI, access the developer console on the official Gemini AI website pr...