Question
Cognizant
IN
Last activity: 10 May 2024 9:31 EDT
for a connector REST say first we need to fetch the data from external system then we need to work on the case and then how can we save the updated case data back to the external system
For a connector REST say first we need to fetch the data from external system then we need to work on the case and then how can we save the updated case data back to the external system
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Maantic Inc
IN
There are a lot of ways to do this, everything depends on the whole scenario requirement. But one of the recommended ways to achieve this is by using Pega's OOTB update case API with uses REST connectivity.
Pegasystems Inc.
CA
You can use savable data pages to save a page or page list of data specified in a data page back to its system of record (SOR) regardless of whether the SOR is Pega Platform™ or another system like an external database.
Cognizant
IN
@RameshSangili so in this case we should source the savable data page with a connector then how to configure the save plan for it?
Pegasystems Inc.
CA
The following save plans are available:
- Database save – Use this option to save data to the system of record.
- Connector – Use this option to save and persist data.
- Activity – Use this option to create logic to persist data to any system, using any supported integration connector option, for example, REST, SOAP, and so on.
- Robotic automation, and Robotic desktop automation – If you use robotic automation or robotic desktop automation, use these options to source your data page when you want to write updated data back to an external system of record, or for when you need to use robotics to meet other business needs.
Please go through this link for more details,
https://academy.pega.com/topic/savable-data-pages/v1
https://academy.pega.com/topic/creating-data-page-save-plan/v4/in/30676
Bits in Glass
IN
@TanyaS58 so how you need to logically divide is, the case should be created when external system triggers an action and create case in pega using our exposed api and we can ootb case api(post method) and this api will create case with the contents passed in the body.
Then you will have screens in pega. At the end of the flow you need to have a service api from external system of put method which you will call to update the record.
---------------
But in case instead of external system creating case and you need to fetch details using api, display in ui and update. Then in the first step you will use connect rest to get data, display data in ui, then call external system api to update there record with the updated values. .
Cognizant
IN
@Anoop Krishna can you please specify the steps like beginning from the first part exactly how to create a connector to first fetch the data with external system and then how exactly to map the updated values back to the external system