Great tip. I found that it slows down when it attempts to start the workflow case. Everything else, including creating the case is automatic. this the part where it hangs for about a minute :
-- start the case
perform workflow_case__start_case (
v_case_id, -- case_id
p_creation_user, -- creation_user
p_creation_ip, -- creation_ip
null -- msg
I will look through that function and do the same RAISE hack. But if anybody has any ideas or if there is a known bug, it would be most appreciated.