I am using Oracle APEX 22.1.4 and I am trying to invoke automatic row processing (DML) process programmatically.
I tried as follows but it doesn’t work.
apex.server.process(
'SAVE_PERSON', // Specify your process name here
{
},
{
request: 'UPDATE', // Specify the DML operation (CREATE, UPDATE, DELETE, etc.)
dataType: 'text', // Ensure the response type is handled correctly
success: function(data) {
console.log('DML operation executed successfully: ' + data);
},
error: function(xhr, textStatus, errorThrown) {
console.error('Error executing DML operation:', errorThrown);
}
}
);
Can anybody suggest an idea to achieve this?