```function afterSubmit(context) { try { ...
# suitescript
c
Copy code
function afterSubmit(context) {
        try {
            redirect.toSuitelet({
                scriptId: '<id>',
                deploymentId: '<dep_id>',
                parameters: {
                    
                }
            });
        } catch (ex) {
            log.error({
                title: 'Error With Suitelet',
                details: ex
            });
        }
    }