To use the new SweetAlert functionality and display an error message, the following parameters must be taken into account:

![](https://desk.zoho.com/DocsDisplay?zgId=716875472&mode=inline&blockId=2qey7e471208bf9c74ec0b0b027010ea3ec80)

  When executing it would look like this:

![](https://desk.zoho.com/DocsDisplay?zgId=716875472&mode=inline&blockId=2qey7e8065f8f57ff4ec4b9da11244f5d386a)