I would like to use the AEM API call to delete a folio in the folio producer. I saw thehttp://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/adobe/cq/media/publishing/dps/fp/DPSSessionServic... can create a session.
Once the session is created, I could use http://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/adobe/cq/media/publishing/dps/fp/DPSFolioProducer... to delete a folio with the folioId.
I don't know how I can implement this interface to make this work. I tried to @Reference private DPSSessionService dpssession;
However, this doesn't gets my process deployed to my workflow. I'm not sure how I can get this to work.