cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

OData Add function to Workflow domain

gfontana
8-Gravel

OData Add function to Workflow domain

Hello everyone,

I'm trying to add a function to the Workflow Domain.

The function must be call an external Java class, defined at path ext.internal.WorkItemFunctions, that search for all WorkItem defined for a persistence object (eg WTPart).

In the Method server i receive this error (and my function is not visible at browser level 😞

2022-03-07 17:58:35,605 ERROR [ajp-nio-127.0.0.1-8010-exec-1] com.ptc.odata.core.entity.operation.AbstractOperationContainerConfig orgadmin - operation doesn't have binding parameter
Name = WorkItemByObject [FunctionPropertyConfig={"isComposable":false,"name":"WorkItemByObject","description":"Return Work Item by object OID","parameters":[{"isNullable":false,"name":"ObjectId","isCollection":false,"type":"String"}],"returnType":{"isCollection":true,"type":"String"}}].

 

Attached the js, json and java class implemented.

 

Thank you

 

0 REPLIES 0
Top Tags