cancel
Showing results for 
Search instead for 
Did you mean: 

Call to External Web Application This topic is a duplicate of another discussion.

ivandimaro
Champ in-the-making
Champ in-the-making
Hello,
my company is looking for a workflow engine to use in our applications, but, after having read most of the User Guide, we have not yet been able to understand if Activiti fulfill our needs.
This could be our typical scenario:
1.       The user request a function in our Web Application (JEE)
2.       The system start a business process designed in Activiti
3.       Each step of the process open a form in our Web Application by invoking a URL and passing some input parameters
4.       The process engine understand if the step has been completed based  on output parameters or calling a Web Service to know the state of the process instance

Is it  possibile to associate a task to an URL to open a form produced by our web application? Can you give me some reference to the documentation where it’s described how to do it? Or even some sample code?

A last note: the Activiti FAQ (http://activiti.org/faq.html#WhatIsThePvm) states:
"In the forseeable future, […] Activiti will be leveraged to build […] pageflow that models the navigation between pages in a webapp".
It seems exactly what I'm looking for…
1 REPLY 1

yvoswillens
Champ in-the-making
Champ in-the-making
Hi Ivan,

You can assign a form key to a UserTask. This way a view controller component (which handles the actual view navigation) can use this form key to navigate to the associated view.
It's important to understand that Activiti provides API's to manage (deploy / start / query the state /etc) a business process (amongst other things).
The actual view navigation is handled by the used UI technology; not Activiti.

Regards,

Yvo