Adding javascript to an existing button

I currently have a button in place that when clicked it runs a class. I’m looking to add to this button so once it’s clicked it also creates a new record on a new object. How can I do that? The new object’s name is “Kickbacks__c”

Here’s what the button currently looks like:

var scModels = skuid.model.getModel(‘Application’);
var scRow = scModels.data[0]; 
var result = sforce.apex.execute(‘DecisionLogicAPI’,‘assignToUnderwriterQueue’,
{   
        appId : scRow.Id
});
alert(result);
window.location.reload();

Hi Edward,

Are you familiar with the action framework within Skuid? You should be able to utilize the action framework to run multiple actions from a button. Our documentation on the Action Framework can be found here: https://docs.skuid.com/latest/en/skuid/action-framework/

-Josh