Global function in Workflows is not returning my data anymore

My global function is no longer returning my data, when I run it manually it returns the data and it has been returning it for all previous workflows.
Now it comes back empty.

Could you share the contents of your function?