The appropriated approach for your situation is Ajax Callback
processes. It is the last execution point in the "processes tab". The processes in this point not executed until you call it using its name. After creating the process in this point you should call it using
apex.server.process()
function of Oracle Apex Javascript api.