owa_util.redirect_url('f?p='||:APP_ID||':XYZ:'||:APP_SESSION||'::'||:DEBUG||':::');Where 'XYZ' is the page you desire to redirect to and the condition is the assertion fail state.
owa_util.http_header_close;
If you would like to display a message on said page you can set a hidden page variable in the process using
v('PXYZ_VAR') := 'my message';
. Then have an 'After Header' process on that destination page which displays the contents of the page variable if it's not null (use an 'item not null' condition to determine this). Here's the code that will give you a nice Apex style message...apex_application.g_print_success_message := :PXYZ_VAR;Simple as that!
:PXYZ_VAR := '';
Update: More details can be found in this follow up post.