A classic progress bar, the page waits until process is finished while displaying the live progress status.
The following is an example of how to use the PL/SQL API inside a page process :
declare
l_processname varchar2(128 char) := 'PROCESS_01';
begin
UC_PROGRESSBAR_PKG.start_process(p_process_name => l_processname,
p_maxval => 100);
for i in 1..20
loop
-- Pause for 0.5 second.
UC_PROGRESSBAR_PKG.set_status(p_process_name => l_processname,
p_value => i*5,
p_process_text => 'completed');
sys.DBMS_SESSION.sleep(0.5);
end loop;
UC_PROGRESSBAR_PKG.stop_process(p_process_name => l_processname);
end;