What's the difference between the two actions nested under onSuccess?

Have you ever encountered this section in the Jigx Builder and wondered what the difference is between the list of actions and the actions menu?

Let me break it down quickly for you

As can be seen from the above image, all the lists marked by nr 1, is available for selection and will execute right after the successful execution of the initial action. This is done automatically.

Below that list you will encounter three further options; actions, description and title. These three items ensures that a pop-up modal is displayed with any of the three you have specified.

This is useful to display messages to indicate that the execution was successful, etc. The actions menu however allows you to set up an optional action that the user can engage with should they wish to. This is presented as a link, and is not executed automatically, but only when the user interacts with the link.

In this example, the state is automatically set:

In this example however, the state will only be set if the user clicks on the link:

And this is what the UI would look like for that, you can see the modal pop-up with the link present.

So in essence, the best way to look at it, is that it’s a shortcut to another related action that the user could follow. Some use-case scenarios are below:

A) Adding an item to the shopping cart β†’ Action go to the shopping cart (You can go there, but you don’t have to).
B) Create category β†’ Action create a product.
C) Create a benefit β†’ Action go to employee list.

Just a word of caution on this, using any of the three modal options with goBack: home freezes the app. This is currently being addressed by our team.

1 Like