Hi folks,
Is there any way or functionality pega, which we will verify/check the other system which pega is connecting is up or down? We have agent will run daily, and there is integration with other sytem, if the sytem is down all the case will failed. we can re-queue it but I am thinking it will be burned on the application and will be slow. So plan is process the records only when the other system/application up. Please suggest any solution.

    Samiulla

    That's really an interesting question, to be frank. We can efficiently handle this in below two ways,

    1) Pega provides an OOTB REST service to see if the environment is Online/Offline (Down). We can hit the service first to see if the environment is up and running. In the same way, you can ask your target system to host a similar service to determine the environment's online status and verify that before your business process.
    https://<<hostName:port/contextName>>/PRRestService/monitor/pingservice/ping

    2) As part of error handling in your connector which hits the actual service, make sure you explicitly check if the error code is 503 (Service Unavailable) and end the process with a proper retry mechanism.

    Let us know which option works better for you 😊

    4 days later

    Hi ospteam,
    Appreciate above suggestions, if the other system is not ready to accept the changes (to hot the service to determine the environment) then we left with option 2 right?

      Samiulla
      You are correct. In that scenario, we will be left only with option 2.

        3 years later

        We notice that several compelling responses have been shared already. Including our remarks in the hopes of contributing some valuable insights to this discussion.

        Yes, there are a few ways to check the connectivity status of an external system in Pega. One way is to use a connectivity rule (such as a JMS or SOAP rule) to test the connection to the external system. This can be done by configuring the connectivity rule to ping the external system on a periodic basis and report the status back to Pega.

        Another way is to use Pega's built-in health check functionality, which can be configured to monitor the availability of external systems and services. This can be done by creating a custom health check rule that uses a ping or other network test to verify that the external system is available.

          Write a Reply...

          -An Initiative Of OneStopPega- Love our work? Support Us🖤