How to inject Service to custom function

Hi ,

As pe the  Function Plug-ins - Appian 22.2 , We can inject the service ( ContentService ) as a argument to the custom functions. When I try to inject as  below

public String dowork(@Parameter String para, ContentService cs) {

}

I am getting below error.

: Unable to find a required instance of ContentService.

Is there any other annotation or setting ?

Thanks & Regards,

Chaminda

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data