linking server side action to client side actions

Hi, 

Is it possible to display a message in the server side action? What i am trying to do here is there is a form where user input a topic. In the client side action, it validates the form and then there is a server action where it validates whether is already a existing record (as shown below). 

However, i want it such that after a topic is created, a success message will show up and link them to page1 for example. And also when a topic is not created, it will link users to page2. 

Because there is only one outgoing connector from the server action whereas there is 2 ending possibilities in the server side action, how do i implement what i want correctly?

Solution

Hi Jolene,

You can create a output parameter in your server action and based on it you can implement your flow in client action.

Somewhat like below,

Hope this helps you.

Kind Regards,

LK

Solution

Lakshmi Kumar Yadav wrote:

Hi Jolene,

You can create a output parameter in your server action and based on it you can implement your flow in client action.

Somewhat like below,

Hope this helps you.

Kind Regards,

LK

Hi Lk,

Thanks for the solution!