0

I have a BPMN for document management in KTA. The steps are the following :

  • Create a TIFF file (scan)
  • Classify document
  • Convert to PDF
  • ...
  • Electronic signature with chambersign
  • etc.

enter image description here

My issue is the following : I was asked to develop a Java module in order to get the documents that are processed, to make electronic signature and to send it back to KTA. I just don't know how KTA can call my JAR file.

davidvera
  • 1,292
  • 2
  • 24
  • 55

1 Answers1

0

I would create a .NET wrapper DLL and then call said library in a .NET Activity. Simply calling a JAR from .NET and getting data back is described here, but it might get more complicated that that (since you mentioned sending the document back to KTA).

A possible solution would be to have your JAR simply sign a document that's located on the disk (e.g. c:\in\123.pdf). The .NET wrapper would then download the PDF from KTA's repository, call your JAR, and then upload the updated file again. You can use the GetDocument method from CaptureDocumentService to retrieve a file, here's some code to get you started.

Wolfgang Radl
  • 2,319
  • 2
  • 17
  • 22
  • thats great... In fact I also discovered that it was also possible to put in a BPMN process C# code and even JavaScript. It will make my life easier. I will post how I put the code in KTA ... – davidvera Dec 31 '19 at 05:51