We can add the user event script to sticky note custom record that sets every newly created sticky note to be public by default. The script ensures that the sticky note is saved as public before being added to the database. However, once set to public, users will not have the ability to change it to private.


Source Code:
const beforeSubmit = (scriptContext) => {
try {
let stickyNoteRecord = scriptContext.newRecord;
stickyNoteRecord.setValue({
fieldId: 'custrecord_sn_is_public',
value: true
});
}
catch (e) {
log.error('error@stickynoterecord', e.message);
}
}