Posted: 17 Aug 2018 7:09 EDT Last activity: 6 Sep 2018 15:50 EDT
Communication between applications through Websockets
I have a requirement where I have to launch a non-pega external application inside my pega application on a button click which opens a separate browser to show the external app. User can perform some changes like customer name change or contact details change etc. in the external application. User may or may not close the external app window and use both the pega app and external app in parallel. Given this, if the user changes the name or contact details in the external app, pega UI should refresh its screen and show the updated details instantly. Is there a way to achieve this? I heard websockets can be used for applications to communicate with each other so that external app can notify if there are changes which needs to be notified.
Note: Users dont like to have a manual refresh button OR open the external application in the modal window.
Please advice if anyone handled such requirement or any other idea other than websockets.
***Edited by Moderator Marissa to update platform capability tags****
Hi Divya - Thanks for the response. I believe mashup is an option if I need to embed pega app into the external app. In my case, I want the two applications to run separtely but any change made by Non-pega (reactJS) external application should instantly refreshed on pega screen.
Just to give some background, we have a CPM based call centre application in pega which launches an external billing application built with ReactJS. When some of the billing info changed thru reactjs application, pega screens needs to be refreshed. There are certain billing changes where in I need to kill the interaction created in pega etc. I am looking for some mechanism which can be used by these apps to communicate with each other.