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
Could you share your code please?
Try with the definition in this format.
@Functionpublic String doWorkd(ContentService cs, @Parameter String parameter,) throws AppianException {