We have an existing ontology action that allows users to edit properties of an object. Importantly, we have logging set up on that action using the native capabilities of OMA. We now have another use-case where we are editing the same object, but we need to do some pre-processing + autofilling of values before we call the action. Thus, we’d like to call the existing action from a TS function so that, at the end of the day, the logging stays in one place. Is there a simple way to do this?
Unfortunately, no. For a function to perform edits, it has to be wrapped under an Action. The closest thing you can do is to move your Action logic into code and add logging, and then set it up as a Function-backed Action
https://www.palantir.com/docs/foundry/action-types/function-actions-getting-started/