Why isn’t there a Get Object function in AIP Logic?

I need to retrieve a single object property given the ID as input. Currently, it’s a 5-step process. We might be able to cut 1 or 2 steps, but there should still be a simple Get Object function.

  1. Filter by ID (returns an object set)

  2. Convert to list

  3. Convert list to an array of structs

  4. Pick array element

  5. Get struct field

Alternatively, AIP Assist suggests using the Object Query Tool, but I don’t think we should rely on an LLM just to fetch an object.

you could probably cut down on 1 step at least by using get object list element at index and then calling get object property from there. Not ideal but saves a bit of time in the conversion to struct array there.

The alternative would be to potentially just call the function with the object directly given that you have the ID already which should cut down even more steps.

1 Like

Sure. Will try one of these options.