Enabling Cosmos React applications for registration
Merge seamless work management and an innovative UI framework by enabling Cosmos React applications for registration with the Pega Process Fabric Hub. By default, Cosmos React applications are not compatible with the Pega Process Fabric Hub, but after you provide a correct data transform configuration, your applications can publish data to the Pega Process Fabric Hub for unified assignment management in your organization.
For more information, see User interface and Cosmos React (early adopter).
After you install the Pega Process Fabric Hub connector component, your application includes an empty Assign-.pyPF_SetRequest data transform. When you provide correct configuration for this data transform, you can register your Cosmos React application with the Pega Process Fabric Hub.
- In the navigation pane of Dev Studio, click Records.
- Expand the Data Model category, and then click Data Transform.
- In the list of data transform instances, open the
Assign-.pyPF_SetRequest data transform, as in the
following figure:
Opening the Assign-.pyPF_SetRequest data transform - On the Definition tab, define the data transform by
entering the following values:
Row Action Target Relation Source 1 When RequestPage.status != "Resolved" Not applicable Not applicable 1.1 Remove RequestPage.actions Not applicable Not applicable 1.2 Update Page RequestPage.actions(<APPEND>) Not applicable Not applicable 1.2.1 Set .ID equal to "redirect" 1.2.2 When !Application.pyIsConstellationApp Not applicable Not applicable 1.2.2.1 Comment "?"[email protected](Pega-RULES:Utilities).pzEncryptURLActionString(tools,"Global","pyActivity=pyMobileSnapStart&Action=openAssignment")+"&InsHandle="+Primary.pzInsKey+"&InsClass="+Primary.pxObjClass+"&pyShowFullPortal=true" Not applicable Not applicable 1.2.2.2 Set .href equal to "?"[email protected](Pega-RULES:Utilities).pzEncryptURLActionString(tools,"Global","pyActivity=pyMobileSnapStart&Action=openAssignment")+"&InsHandle="+Primary.pzInsKey+"&InsClass="+Primary.pxObjClass+"&pyShowFullPortal=true" 1.2.3 Otherwise Not applicable Not applicable 1.2.3.1 Comment @pxIndexInPageListIgnoreCase(.pxRefObjectClass,"pyWorkTypeImplementationClassName",Application.pyWorkMetaData) Not applicable Not applicable 1.2.3.2 Set Param.WorkMetaIndex equal to @pxIndexInPageListIgnoreCase(.pxRefObjectClass,"pyWorkTypeImplementationClassName",Application.pyWorkMetaData) 1.2.3.3 When Param.WorkMetaIndex>-1 Not applicable Not applicable 1.2.3.3.1 Comment "/"[email protected](Application.pyWorkMetaData(Param.WorkMetaIndex).pyWorkTypeName)+"s/"[email protected](.pxRefObjectKey,' ') Not applicable Not applicable 1.2.3.3.2 Set .href equal to "/"[email protected](Application.pyWorkMetaData(Param.WorkMetaIndex).pyWorkTypeName)+"s/"[email protected](.pxRefObjectKey,' ') 1.2.4 Set .title equal to "Redirect and Open" 1.2.5 Set .type equal to "Get" For example: The following figure shows a correctly completed data transform: Assign-.pyPF_SetRequest data transform - On the Pages & Classes tab, define data pages that
the data transform accesses by entering the following values:
- In the Page name field, enter RequestPage, and then, in the Class field, enter $NONE.
- Click Add item.
- In the Page name field, enter RequestPage.actions(), and then, in the Class field, enter $NONE.
- Click Save.
Previous topic Installing the Pega Process Fabric Hub connector component Next topic Establishing communication between the Pega Process Fabric Hub and Pega Platform by editing dynamic system settings