Hi All,
I am creating a model in ArcGIS Pro 2.9 that achieves the following:
1. Creates a spatial join of zoning to tree points, outputs updated feature class to a FGDB
2. Imports table from AGOL into the same FGDB listed above
3. Removes duplicate values from the same table, keeping only the most recent record
4. Creates a table join on tree feature class from step one, with the updated table from step three as the join table
For step three, I created a script tool, which I added into the model. Everything runs fine up until the point where I try to set up the table join. The issue is that it wont let me add the output from the script tool as the join table. It just doesn't recognize it at all. For reference, below are screenshots of the script tool code and parameters:


Can anyone point out what I am doing wrong in this scenario, and how to allow for the output of the script tool can be implemented into the table join step of the model?
Thanks in advance!!