how to force a new screen to have some default function called after start.


I am a newbie in Outsystems,

What I want to achieve is that any new screen flows created in my module will need to check one function first before doing anything. I mean when a preparation is created for the screen it automatically shows 

Start --> function --> end  instead of Start---> end 

Is there some way I can implement this in outsystems?


You can make your own screen templates in OutSystems. So you could create an empty screen template with a preparation with the call to the action. That server action need to exists in the application template you have to create. And you need a reference to it in your custom screen templates module.

This are not really newbie tasks to do.

You can Google on how to create custom application and screen templates. There is good documentation on it as well as forge components to get you started.