View Full Version : WorkFlow problem

6 Nov 2009, 2:41 AM

we are using JBoss jBPM to define our processes. Somehow, we would need to transport the navigation logic into the java server instead blind code it in the extjs classes.


Component1 triggers action (can be onClick, onChange, ...) and transmits the request to the server. Server processes the busieness process and changes state. It also produces the next step in workflow (can be a formwindow, grid or message, ...)

What is the best way to implement something like this?

6 Nov 2009, 2:52 AM
Button onClick -> AJAX Request (Send) -> Server process -> AJAX Request (Recv) -> Create new component based on server response.

Something like this?

You can also return javascript from your server process and get it executed.

6 Nov 2009, 4:48 AM
Then I should create a navigation object (controller) on the extjs side and implement standard actions, which are triggered in the success method of the ajax call?

This sounds reasonable.