Is there a way to trigger post-workflow js for records on a different table than the one I'm on?

I have a button on my contacts record that sets that person as the current owner for the linked address record. Whenever I change anything on an address record, I have some post-workflow js that has to run every time the record is saved. Is there a way to trigger the post-workflow js on my address table/record without duplicating that code to every other table I want to modify address records from?

Hi,

If there’s a workflow you want to run on different sheet, you have to write the function in global workflow and call the function on each sheet.