Manikandan Krishnan (krism2)
Senior Software Engineer-UI
Pegasystems Inc.
krism2 Member since 2018 4 posts
Posted: March 17, 2021
Last activity: June 24, 2021
Posted: 17 Mar 2021 6:46 EDT
Last activity: 24 Jun 2021 19:06 EDT

Toast Notification in Theme-Cosmos

Toast notification can be shown on successful creation of case object. Once the work object is created successfully the toast notification will be shown on the bottom center of the screen. By default the toast notification message contains the link to work object and the success message. (i.e ) “WO-123 has been created”, however the user can change this. The toast notification will be shown for 5 seconds. By default toast will have close button to close it before it disappears.



Configure toast notification

To enable the toast notification navigate to the case type and Cosmos UI settings inside the settings. Under the General settings enable the option “Stay on current page and show toast notification”.



  • Once the toast notification is enabled, navigating to the case after creation option will be disabled.
  • Can also enable the toast by overriding the when rule pyCreateAndOpenNewCase and return false for the special usecase.


Modify the toast section

To modify the toast content, user can able to override the pyCaseConfirm section in the case class.

Modified Toast

***Edited by Moderator: Pooja Gadige to add Developer Knowledge Share tag***
Pega Platform User Experience Cross-Industry Front-End Developer Developer Knowledge Share