[jBPM] - Can we migrate case-flows from Savvion to jBPM?
by Vidhya Prabhu
Vidhya Prabhu [https://community.jboss.org/people/vidhyakp28] created the discussion
"Can we migrate case-flows from Savvion to jBPM?"
To view the discussion, visit: https://community.jboss.org/message/759567#759567
--------------------------------------------------------------
Hi,
I am a newbie, and am very interested in process development in jBPM. I have a very interesting usecase at hand and need to give solution in its implementation.
We have currently implemented our BPM flow using Savvion 6.5 product. We are searching for an open source solution to migrate existing business flow. I found jBPM suitable for the requirement.
There are certain queries that I need to understand:
1. Is it possible to migrate existing case flows from Savvion to jBPM ?
2. If yes, how could we migrate from Savvion to jBPM?
3. If in case there is no solution, what details are required to have a customized utility for the same?
Our application is purely JEE based deployed on Weblogic Server and we use jax-WS to integrate with Savvion. So, I assume we can do the same using jBPM web-services.
Let me introduce to what we have implemented in the Savvion product:
We create business flow mainly using subprocesses (call-activity with child sub-processes in different templates), swim-lanes, split/XOR gateways, data variables, LDAP connectors etc. available in Savvion.
We have 4-5 case types and each case-type has its own workflow. Every workflow has four phases and each phase has phase-activities which in-turn has worksteps (templates).
1. Phases could be intial, in-progress, contract and production.
2. Phase-activities are department specific. For eg. Sales, Operation etc.
3. Worksteps are assigned to a group(team) or specific user.
Certain worksteps have some business-rule validation before execution which requires to be fulfilled.
The approach used is using of tokens. A workstep can have many validation tokens separated by comma. e.g VALIDATE_EMAIL,VALIDATE_USERNAME.
Once we deploy this business flow, using Savvion BPM Studio, it internally copies the BPM related files to server and +*creates a table for each template*+.
Now the process is as follows:
1. Application has a provision to start the process flow - Savvion creates a process instance for the template and add one entry in respective database table. For eg, we have a template name 'App_CustomerContact', table name same as template name. This process-instance is related to only one case.
2. The application makes user available with assigned worksteps in the form of checklist. The user then completes these worksteps (We call it as measure-points). Once the user has completed his assigned worksteps, the next workstep will be available to team/other user as per business flow.
So we require to migrate our existing process-instances into jBPM and also create new processes using jBPM templates.
We do have knowledge how Savvion creates data into its database.
I am attaching a sample workflow template developed in Savvion BPM.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/759567#759567]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 7 months
[jBPM] - jbpm transaction questions
by wqe wqe
wqe wqe [https://community.jboss.org/people/drupalspring] created the discussion
"jbpm transaction questions"
To view the discussion, visit: https://community.jboss.org/message/759528#759528
--------------------------------------------------------------
(1) I remember that I see somewhere before mentions that integration of TaskServerice and Spring using JTA transaction is not fully tested . Any news and improvement in the JTA integration with Spring now? Is the quality is production ready?
(2) I am now using two databases (one for task and one the jbpm runtime) which both of them is integrated with Spring . The jbpm runtime database uses JTA now while task database uses local transaction now . I read some where in the forum before says that it is necessary to use JTA in drools/jBPM , so are there any problems if JTA is used for one database and local transaction is used for another database ? If I include a local transaction inside a JTA Transaction, cam both of them work as a single transaction unit???
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/759528#759528]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 7 months
[EJB3] - @EJB(lookup="xx") fails.
by Arthur Gerson
Arthur Gerson [https://community.jboss.org/people/agerson] created the discussion
"@EJB(lookup="xx") fails."
To view the discussion, visit: https://community.jboss.org/message/759096#759096
--------------------------------------------------------------
*Sorry ahead of time if this problem is clarified else where.*
*Using Eclipse I have created a bean called Foo and a servlet to call it.*
package com.foo.ejb;
import javax.ejb.LocalBean;
import javax.ejb.Stateless;
/**
* Session Bean implementation class Test
*/
@Stateless
@LocalBean
public class Foo implements FooRemote, FooLocal {
/**
* Default constructor.
*/
public Foo() {
// TODO Auto-generated constructor stub
}
}//End of file Foo.java
package com.foo.ejb;
import javax.ejb.Local;
@Local
public interface FooLocal {
}//End of file FooLocal.java
package com.foo.ejb;
import javax.ejb.Remote;
@Remote
public interface FooRemote {
}//End of file FooRemote.java
import java.io.IOException;
import javax.ejb.EJB;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.jboss.logging.Logger;
import com.foo.ejb.FooRemote;
/**
* Servlet implementation class TheServlet
*/
@WebServlet("/TheServlet")
public class TheServlet extends HttpServlet {
private static final long serialVersionUID = 1L;
private Logger logger = Logger.getLogger(TheServlet.class);
@EJB( lookup="java:global/FooBean/Foo!com.foo.ejb.FooRemote")
private FooRemote foo ;
/**
* @see HttpServlet#HttpServlet()
*/
public TheServlet() {
super();
// TODO Auto-generated constructor stub
}
/**
* @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
*/
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
logger.info("PlaceBidServlet says hi!");
}
/**
* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
*/
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// TODO Auto-generated method stub
}
}//End of file TheServlet.java
*I used the JBoss log to get the global JINI string and placed into the servlet.*
|
| java:global/FooBean/Foo!com.foo.ejb.FooRemote |
|
| java:app/FooBean/Foo!com.foo.ejb.FooRemote |
|
| java:module/Foo!com.foo.ejb.FooRemote |
|
| java:jboss/exported/FooBean/Foo!com.foo.ejb.FooRemote |
|
| java:global/FooBean/Foo!com.foo.ejb.FooLocal |
|
| java:app/FooBean/Foo!com.foo.ejb.FooLocal |
|
| java:module/Foo!com.foo.ejb.FooLocal |
|
| java:global/FooBean/Foo!com.foo.ejb.Foo |
|
| java:app/FooBean/Foo!com.foo.ejb.Foo |
|
| java:module/Foo!com.foo.ejb.Foo |
*I am getting the following.*
Caused by: java.lang.NoClassDefFoundError: Lcom/foo/ejb/FooRemote;
Caused by: java.lang.ClassNotFoundException: com.foo.ejb.FooRemote
*This is JBoss version*
JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
*So I am assuming this type of injection is supported. The test works fine when the client and ejb are in the same project/war but I want to separate them. Does anybody see what I am doing wrong? Any help would be greatly appreciated.*
*Thanks, Art
*
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/759096#759096]
Start a new discussion in EJB3 at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 7 months
[jBPM] - In my jbpm5.2 project, I use gateway to decide which next taskNode that the process will go
by xiaoxiao long
xiaoxiao long [https://community.jboss.org/people/mimi_2012] created the discussion
"In my jbpm5.2 project,I use gateway to decide which next taskNode that the process will go"
To view the discussion, visit: https://community.jboss.org/message/759357#759357
--------------------------------------------------------------
I do not like this way :
https://community.jboss.org/servlet/JiveServlet/showImage/2-759357-19464/... https://community.jboss.org/servlet/JiveServlet/downloadImage/2-759357-19...
int qnt = java.lang.Integer.parseInt(quantity);
if ( qnt > 1000)
isAvailable = false;
else
isAvailable = true;
kcontext.setVariable("isAvailable",isAvailable);
System.out.println("***After process order HT, Quantity: " +qnt +" isAvailable condition: " +isAvailable);
because the customers want the project could achive the function to allow them to decide which next taskNode that the process will go,In the User Interface,I will supply the options(show the next tasknodes) to user to choose,how can i achive, *I need the code,*forgive my poor english,thanks!!!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/759357#759357]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 7 months