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