A button in a section needs to open a new browser tab/window with a predefined link for an external application. The "policy number" of the current case needs to be inserted into the URL so that the policy currently being viewed in Pega is opened in the external system.
Does Pega have OOTB functionality to do this?
I do have an example from a previous application (see screenshot) that uses an action set with a "Run script" action. This is the script:
where X is just a string broken up by periods representing the address of the internal application and Z is simply an integer representing the policyID that needs to be used.
I'm currently trying to make sense of how to use the "Open URL in window" action set:
Open URL in window
Using an activity that returns an HTML stream, opens a URL in a browser window.
Use Alternate Domain — Select to specify an alternate domain for the URL to open.
– Select a URL in the Alternate Domain URL field.
– Optional. Use the Querystring area to specify the names and values of query strings for the alternate domain URL.
User Primary Page — Optional. Select to invoke an activity based on the contents of the primary page when this node is selected.
Data Transform — Optional. Enter a Name key part of a data transform. See About Data Transforms.
Parameters listed on the Data Transform form's Parameters tab appear beneath this field. Enter the values you want pass to the data transform.
Activity — Select an activity to return an HTML stream that displays in the opened window. This activity is processed after a data transform. Select () to open the rule.
Parameters listed on the Activity rule form's Parameters tab appear beneath the field. Enter the values you want pass to the activity.
Saw that but sadly it does not help because it only uses Alternate Domain URL simply and without multiple parameters for example. Sometimes I wish there were examples of all sorts of uses for various settings in Pega... I know of the UI Gallery, but it just scratches the surface.
Posted: 5 years ago
Posted: 2 May 2017 5:39 EDT
Santanu Bhattacherjee (Santanu)
Senior Manager, Cloud Engineering, Management Plane Services