Skip to Content
Former Member
May 04, 2016 at 07:49 PM

Agentry file download to nested collection?


I have a workorders object with a nested collection called Images. In the read steps for Workorders, I populate the images collections with data from the database, but when the File document step runs to bring the actual file image down, the "object" being referenced is the Workorder object. I've echo'd out <<object.OrderID>> and <<object.CrewID>> in the batch file, which are both on the workorder object and they are populated. When I echo out the <<object.FileName>> which is part of the Image collection, I see a flunky error. The read steps on the Image object do not get run because its part of another collection under Main.

Is there a way to bring files down on nested collections?