RESTFull or API access to workflows

He we will discuss about how to make customization and improvement to the OpenKM source code.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
Petr_Valenta
Senior Boarder
Senior Boarder
Posts: 47
Joined: Mon Mar 06, 2017 9:10 am

RESTFull or API access to workflows

Post by Petr_Valenta » Tue May 30, 2017 12:51 pm

Hello

Is there any way to work with workflows and tasks either by RESTFull services or JAVA API?

I have found just web services http://localhost:8080/OpenKM/services/OKMWorkflow but you say, they are deprecated ...

"SOAP API will no longer be supported, we've bit for RESTful, that's actually more complete. We will continue maintaining SOAP for historical reasons, but in the future we will definitely deprecate it and it'll be removed from OpenKM.
We encourage move to RESTful."

Server:
VMWare 12 Pro
Memory 12 GB
1 proc - 4 cores
Centos 7 Server
PostgreSQL 9.2.18
OpenKM 6.3.4

Dev PC:
VMWare 12 Pro
Memory 8 GB
1 proc - 4 cores
Ubuntu 16.04
java 1.6
JBoss Developer Studio 5.0.0.GA - installed according to https://docs.openkm.com/kcenter/view/wf ... io-5x.html (jbdevstudio-product-universal-5.0.0.v20120615-1714-H213-GA.jar + jbpm-installer-3.3.1.GA.jar)

Many thanks in advance for your answer.

Petr Valenta
Last edited by Petr_Valenta on Sun Aug 13, 2017 3:52 pm, edited 1 time in total.

jllort
Moderator
Moderator
Posts: 9702
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: RESTFull or API access to workflows

Post by jllort » Wed May 31, 2017 2:07 pm

In professional version we have added REST support for workflow API, but these changes has still not propagated to community version. You can use SOAP meanwhile. The main problem with SOAP happens when you change something from server side, like adding or removing variables from some Object what causes client be non compatible and you must create a new SOAP client. That has been one of the reasons, not only one, why we have decided to do not invest more effors in this direction.

We will not remove from community version, althought we consider is something deprecated, but at the same time consider we will not solve problems on it ( if it happens ).

Petr_Valenta
Senior Boarder
Senior Boarder
Posts: 47
Joined: Mon Mar 06, 2017 9:10 am

Re: RESTFull or API access to workflows

Post by Petr_Valenta » Wed Jun 07, 2017 7:59 am

Hello

1. If I understand it correctly, SOAP is the only way and in case of any trouble, you will not solve it. Right?
2. Is there in Java-SDK any API to work with workflows?
3. Do you plan the near future to offer REST services for workflow in Community?

Best regards

Petr Valenta

jllort
Moderator
Moderator
Posts: 9702
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: RESTFull or API access to workflows

Post by jllort » Thu Jun 08, 2017 6:31 am

Exists for professional but is still not supported by community. In future we will also add this kind of support, but we have not found still time for it.

Petr_Valenta
Senior Boarder
Senior Boarder
Posts: 47
Joined: Mon Mar 06, 2017 9:10 am

Re: RESTFull or API access to workflows

Post by Petr_Valenta » Thu Jun 08, 2017 1:41 pm

OK - REST is clear now. The last question - Is there in Java-SDK any API to work with workflows?

jllort
Moderator
Moderator
Posts: 9702
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: RESTFull or API access to workflows

Post by jllort » Sun Jun 11, 2017 7:46 am


Petr_Valenta
Senior Boarder
Senior Boarder
Posts: 47
Joined: Mon Mar 06, 2017 9:10 am

Re: RESTFull or API access to workflows

Post by Petr_Valenta » Mon Jul 10, 2017 12:52 pm

Hello

Thanks a lot.

Petr Valenta

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest