How to embed task and process forms in jBPM 7.5?

538 views
Skip to first unread message

Kristianto Iskandar

unread,
Feb 21, 2018, 10:30:33 PM2/21/18
to jBPM Development
Hi All,

I'm trying to embed task forms rendered by jBPM into a client application. Looking at previous documentations for jBPM 6 it looks like there are REST APIs which returns the URL to the rendered process form and rendered task form (http://<server>/jbpm-console/rest/runtime/<deployment id>/process/<process id>/startform and http://<server>/jbpm-console/rest/task/<task id>/showTaskForm) but these seem to have changed for jBPM 7.

Are these APIs present in jBPM 7.5 at all? I'm aware that we can use the KIE Server UI extension to retrieve the process form or task form definition to render these forms ourselves, but I'd like to embed a pre-rendered form if possible.

Kind regards
Kris


Maciej Swiderski

unread,
Feb 22, 2018, 2:40:38 AM2/22/18
to Kristianto Iskandar, jBPM Development

On 22 Feb 2018, at 04:30, Kristianto Iskandar <kristiant...@infomedix.com.au> wrote:

Hi All,

I'm trying to embed task forms rendered by jBPM into a client application. Looking at previous documentations for jBPM 6 it looks like there are REST APIs which returns the URL to the rendered process form and rendered task form (http://<server>/jbpm-console/rest/runtime/<deployment id>/process/<process id>/startform and http://<server>/jbpm-console/rest/task/<task id>/showTaskForm) but these seem to have changed for jBPM 7.

Are these APIs present in jBPM 7.5 at all?
no version 7 does not expose such feature to render task’s forms from outside.

I'm aware that we can use the KIE Server UI extension to retrieve the process form or task form definition to render these forms ourselves, but I'd like to embed a pre-rendered form if possible.
it's recommended to either use workbench as the client or use custom UI with integration with KIE Server UI extension.

Maciej

Kind regards
Kris



--
You received this message because you are subscribed to the Google Groups "jBPM Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-developme...@googlegroups.com.
To post to this group, send email to jbpm-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-development/15e99c20-7142-4e19-a3a9-24235127fe5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

brian.walli...@gmail.com

unread,
Feb 28, 2018, 7:03:38 AM2/28/18
to jBPM Development
The 7.6.0.Final manual still has a section describing how to use the integration functions in  js/jbpm-forms-rest-integration.js and the file still exists in jbpm-console.war starting with the definition "function jBPMFormsAPI()". 

Does this no longer work? If not shouldn't it be removed from the war and the documentation?

Steve Edens

unread,
Aug 3, 2018, 1:04:27 PM8/3/18
to jBPM Development
Good day:   I am interested in embedding and or integrating jBPM functionality in a external application.   Is there any further guidance on the best approach to achieve this integration?     Here's the approach I understand from this post:   "it's recommended to either use workbench as the client or use custom UI with integration with KIE Server UI extension."       As i imagine my perfect solution, i would love some REST calls and then i'd format the response.    However.. embedding the workbench into some external application would be terrific.      Are there any updates?...    I am just now starting to look at this challenge.

Maciej Swiderski

unread,
Aug 4, 2018, 1:43:51 PM8/4/18
to Steve Edens, jBPM Development
Currently the approach described still stands. So you can use KIE Server stand-alone or embedded it in the app like a spring boot app or Wildfly Swarm. 
That way you can still use workbench as monitoring application where you can administer your complete environment when it comes to jBPM. 
Though workbench should not be seen as end user app as it is too generic to be used by non technical users 

So the main choice is to decide what framework is  best suited for your application and then take the approach to use jBPM based on that. Let us know how you see it and we can advise on best to way forward 

Maciej 

Wiadomość napisana przez Steve Edens <stevee...@gmail.com> w dniu 03.08.2018, o godz. 19:04:

--
You received this message because you are subscribed to the Google Groups "jBPM Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-developme...@googlegroups.com.
To post to this group, send email to jbpm-dev...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages