Server Actions v App Flows

Hi All,

Sorry if this seems to be a silly question, but - what is the difference between Server Actions and App Flow?

Can’t quite get my head around this, unless I missed something obvious.

Sorry if its a silly question.

B/w
M

Not a silly question at all and someone else may be better to answer your question. But I use Page Flows on pages where I may have almost 100 server connects on it but I only want to load certain ones based on a variable. You can also run server connects based on a button click for example. These are just a few examples. I also use the ‘Wait’ element frequently as well.

The only difference between a App Flow and a Page Flow that I can see is that App Flows can be reused on multiple pages and Page Flows are for a given page only.

1 Like

Server actions are tasks that are executed in the server, and app flows are tasks executed on the client side.

For better performance try to do as much as possible with server actions

1 Like

Some insight I got from @ben a while back:

Here’s the context it was shared in:

Thanks all - that’s really useful, I totally get it now :ok_hand: