# Automates and Ontology links on project-scoped mode: How to import?

**URL:** <https://community.palantir.com/t/automates-and-ontology-links-on-project-scoped-mode-how-to-import/7116>\
**Category:** Ask the Community\
**Tags:** ontology-management, automate\
**Created:** [August 17, 2026, 4:18pm UTC](https://community.palantir.com/t/automates-and-ontology-links-on-project-scoped-mode-how-to-import/7116 "2026-08-17T16:18:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pedrotorres](https://yyz1.discourse-cdn.com/palantir/user_avatar/community.palantir.com/pedrotorres/32/5949_2.png) [@pedrotorres](https://community.palantir.com/u/pedrotorres)\
**Post date:** [August 17, 2026, 4:18pm UTC](https://community.palantir.com/t/automates-and-ontology-links-on-project-scoped-mode-how-to-import/7116/1 "2026-08-17T16:18:34Z")

</div>

Hello! We are running into issues when automates run an action that includes some sort of object traversal within the function. If we do something like

```auto
function getFlightAirplane(flight: Flight): string{

const plane = flight.plane.get()

return plane.id

```

We get failures in automatic execution because the link seems to be outside of the scope of the automate/project.

If we do something like (pseudo code):

```auto
function getFlightAirplane(flight: Flight): string{

const plane = Objects.search().plane().filter(p => p.id.exactMatch(flight.planeId)).all().at(0)

return plane.id

```

it seems to work, but I end up just keeping the automate user scoped so it executes as me. How can I import the links manually into the automate? Is this lack of awareness that a link is needed a product limitation?

---

<div class="post-metadata">

**Author:** ![jakehop](https://avatars.discourse-cdn.com/v4/letter/j/b5a626/32.png) [@jakehop](https://community.palantir.com/u/jakehop)\
**Post date:** [August 26, 2026, 4:18pm UTC](https://community.palantir.com/t/automates-and-ontology-links-on-project-scoped-mode-how-to-import/7116/2 "2026-08-26T16:18:30Z")

</div>

Hi Pedro,

Just to double check - is the plane object type available in the project?
