I am trying to create my first macro. It seemed really easy. The macro returns the correct results in the macro. When I tried to use the macro in a workflow it returns 1 row 1 column. It seems to be returning what tool was the previous one before it exits the macro. Can someone give me an idea what I did wrong?
Inside Macro.

In workflow.

