Why am I unable to select any of my functions to back a new action type. It says “Failed to display selected value, No results found”. However, I have published both functions, confirmed they are bound to the same ontology. Even in Ontology manager I can see them under functions. However they are no where to be found when trying to create a new action type. They only other place I can see them is I am able to select them as a variable within the workshop. Please help!
Hi! @Nkeme are these functions annotated with ?:
@OntologyEditFunction()
for example:
@OntologyEditFunction()
public addPriorityToTitle(ticket: DemoTicket): void {
let newTitle: string = “[” + ticket.ticketPriority + “]” + ticket.ticketTitle;
ticket.ticketTitle = newTitle;
}
Since you seem to select your functions as variable in Workshop (as edit functions they wouldn’t show up there) I think they are not setup correctly.
See tutorial here: https://www.palantir.com/docs/foundry/action-types/function-actions-getting-started/#prerequisites
Also for further elaboration I saw that you need to output of an AIP Logic No Code function to be an object set instead of strings for it to be used in a create action type. However I try that as well and still no luck. Any help here would be greatly appreciated.