@EstebanBustamante thanks now its working fine i was using the wrong session. How to write junit for this wfsession.complete(workItem, (wfsession.getRoutes(workItem,false)).get(0)); wfsession.suspendWorkflow(workItem.getWorkflow());
Hi @daniel-strmecki while writing junit for public method this private method not getting covered and coverage is getting down. if u hv any example please share