Internal Server Error when using custom flowable-rest module

Sorry for the confusion, yes we can add endpoints using @RestController, but I was having hard time calling such endpoints from outside flowable, like from POSTMAN, the REST endpoint which you gave me in this post, I’m able to use it to make calls from outside flowable.

That’s why I thought to just try to add a custom endpoint in ProcessInstanceCollectionResource.java and seeing if I’ll be able to call my endpoint from outside flowable or not.

Hope I made some things clear!!