Function to read an Image file, edit it and return it

Hi,

I am trying to create a plug-in which reads an image file, process it by putting a text on the center of the image and then returns the image file that gets stored in a particular location in Appian. When I am try to test it locally, the java code works fine but when I use Appian functions to achieve the requirement, I get an error message - java.lang.Object cannot be cast to java.lang.Long.

This is the first time I am creating a function in Appian so not sure where I am going wrong in the code.

Java code attached. Would really appreciate if somebody can help me with this.

Thanks,
Varnika

OriginalPostID-244915


JavaCode.txt

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data