Pega For Beginners - How to create your first application in pega in 5 minutes

Image
 Hi there, you will learn today how to create a new application in Pega. But first of all, what is Pega:  Pega is a low-code software platform that helps organizations build applications to automate business processes, manage workflows, and make smart decisions using AI and rules. It’s widely used in industries such as banking, insurance, healthcare, and government to enhance efficiency and improve the customer experience. Saying that, to create the application, you can do it from Dev Studio following these steps: Log in to your Pega environment and click on Application and then New Application. It will appear showing the option to build from scratch or find an application type that Pega has already OOTB. If we click on search all types, it will show all the applications already created in Pega or the OOTB application that has all the assets predefined. Since im working with the personal edition, it doesn't show all the preloaded applications, so we are going with the option t...

How services works in pega

Connector and services:

Applications often establish connections with external systems to exchange data needed to allow users to complete a task; these connections use standard frameworks to exchange information between systems .

For example, an application for car insurance wants information about a car to provide insurance, so it connects to the DMV to get information about the driving history, and based on that, gives them a quote for the insurance

A connection between systems consists of two parts: a connector to initiate the request and a service to fulfill the request.

Connector:

A connector defines an outbound request to the service, and a connector establishes a connection to an external system by using common HTTP methods such as SOAP(Simple Object Access Protocol) or REST(Representational State Transfer). Connectors pass application data through a mapping rule with the required and optional parameters, and are in charge of mapping the response from the service to the application.

How to configure the call of the connector:

The connector can be called from an Activity, Data page, etc The most recommended use of a connector is a data page. On the data page, you can set up, through a data transformation, the mapping for the request data responder, and it can be called from anywhere in the application .

Let's get this process through the steps :

  1. Map data to the integration: you can create a data transform to map the data from the clipboard to the service

  2. Invoke the connector: the connector can be invoked from a data page, data transform, or activity. But as a best practice, it's recommended to call it through a data page

    2.1- Initialize the connector

    2.2-map outbound data

    2.3-Invoke the service

    2.4-Map inbound data

    2.5-Complete the connection

  3. Map response back to the application

Supported Connectors:

Pega provides connectors for a wide range of industry-standard protocols and standards. Standard connectors include Cassandra, CMIS, HBase, JMS, MQ, REST, SAP, SOAP, and SQL

 

Comments

Popular posts from this blog

How to save a Page List into data type, Pega Tutorials

Step by step How to create a SOAP Connector in pega

Pega For Beginners - How to create your first application in pega in 5 minutes