Using errorAlert component


I have an endpoint flow in which I am checking access to a page in a function node… If there is access to a page, I direct users to that page, otherwise I want to give a message to user such as " No access: please see admin". Is it possible to use component errorAlert in the function node ot suggest any other way to accomplish this.



The errorAlert component is designed to be used in an Experience Page. It’s not directly accessed in a workflow. The best place to look for how to implement this is by going through the Experience Views walkthrough.

You want to specifically look at the Log In Page step.