How to insert values from ruleset of javascript into spesific table?

Hello Guys,


I have SM 9.40

I would like to insert values into ApprovalLog table when custom button is clicked or pressed. Currently, I'm working on incidents table and I want parse values from incidents table into ApprovalLog table.


Does anyone have any examples code to parse the values from incidents into approvallog table? Appreciated for anything helps.