Hi Tim,
We had done something similar. like we added a custom dropdown field for tasks having values such COMP, NO, NA. instead of different buttons.
And then wrote a simple custom code (attached to that dropdown field) in appcustomization.js instead of modifying taskcontroller.js file directly for saving the custom value.
async saveTask(event){
if (event?.item?.wojo1 !== undefined) {
console.log("save on test");
let ds = await event.app.findDatasource('woPlanTaskDetailds');
ds.save();
console.log("save was executed");
}
}
Hope this helps.