I have a use case where I’m hoping to call 3 AIP logic functions from a Typescript function, then perform some further computation based on the results output from the AIP logic functions.
Is this possible?
Additionally, if any of the AIP logic functions were to require more than 30-45s to execute, would this cause the Typescript function to timeout?
I don’t think that’s possible today. I do think it would cause a timeout error with the current TypeScript Function execution duration limits.
Could you instead make a fourth AIP Logic Function that simply calls your other AIP Logic Functions in sequence, and then passes those return values into a TypeScript Function? Basically, this “wrapper” AIP Logic Function wouldn’t use AIP directly and would instead serve as a way of chaining together the various component functions.
This is now possible. See https://www.palantir.com/docs/foundry/functions/query-functions/
2 Likes