@Krishna Madireddy To auto-launch a service case from an interaction case in Pega Constellation, use the Create Case shape in the interaction case’s flow to instantiate the service case. Configure a flow action to invoke the service case dynamically using APIs like pega.api.ui.actions.createWork for seamless integration. Ensure the interaction case passes required data to the service case via data transforms. In Constellation, update the UI JSON to trigger the service case launch and render its harness or section automatically. Define when conditions in the flow to control when the service case is auto-launched. Finally, test thoroughly to ensure smooth performance and user experience.
Could you please elaborate how we can open service case assignment in UI after it’s created from interaction case (use the Create Case shape in the interaction case’s flow to instantiate the service case)
Service case should open as shown in the attached screenshot.
@Krishna Madireddy To open a service case assignment in the UI immediately after it is created from an interaction case, use the Create Case shape in the interaction case flow. Configure the shape to enable the “Open assignment after creation” option, which ensures the service case launches automatically. Additionally, ensure the service case assignment is associated with the correct harness (e.g., Perform) to render the desired UI structure and match the layout shown in the screenshot. Modify the UI JSON configuration in Constellation to dynamically handle and display the service case assignment upon creation. Use Pega’s APIs, such as pega.api.ui.actions.openAssignment or pega.api.ui.actions.createWork, to dynamically open the service case and display it in the required view. Pass relevant data from the interaction case to the service case using a data transform during creation to maintain context. Test thoroughly to ensure the service case assignment is rendered immediately and accurately after creation, providing users with a seamless workflow experience. This setup ensures the service case is not only created but also directly accessible for users to start working on it. Let me know if you have any questions. thanks