Skip to main content
atuls8902
New Participant
Jul 14, 2023 6:01 AM UTC
Question

Use error() function

How to use error() function and what is the  best use of error function

2 replies

sarathkumr268295
Known Participant
Jul 14, 2023 6:07 AM UTC

please refer this link. Seems its just for informational purpose

docs.appian.com/.../fnc_informational_error.html

stefanhelzle0001
Brainy
Jul 14, 2023 6:16 AM UTC

When calling the error function in a process context, it will pause the process by exception. Use that in situations where you need to stop the process, analyze and solve the root problem and then continue.

In user interfaces, use error() to show a custom, red and ugly, error message to the user. Use that in cases where the UI cannot progress, similar to the process scenario.