Typing of dataType mismatch in ActionType function call

Hi,

I’m getting a weird issue on an ActionType, which calls a function.
Whereby the type requested by a function, a list of objects, is mismatched and is instead a list of object references.

The error given is

expectedDataType: list of (object)
givenDataType: list of object references

Obviously thought this would be a quick fix and I could update the type being passed in for the parameter from object reference to object, but this isn’t one of the options available.

I’ve tried all available types and none seem to match, and the function has been confirmed to just require a list of objects.

Things tried:

  • The user interface on this action type seems to work flawlessly, pointing to the provided selector for the object to be mapped correctly, but not in the available types
  • Tried object set and all other actions but don’t seem to map correctly to what the function expects

Any help on this would be greatly appreciated.
Thanks

Hello @AndrewFraser

Can you confirm that the function is set up as an OntologyEditFunction and expects the correct Object type?

See this tutorial for help with setting up a function correctly for actions

Hi, Thanks for your reply!

The function is an Ontology Edit Function and does expect a list of objects.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.