Delay process

I’m not sure if this is a ColdFusion, html, or sql question but here goes. I am building a project log for our work group using ColdFusion and SQLServer. I have a couple of processes that fire when the user clicks the ‘submit’ button on a form. I need to make sure that one process always happens before another. Anyone know how I can do that? Is there something like a setInterval equivalent I can use?

thanks for any help!
:hr: