[jBPM] - Does jbpm5 have these features blow?
by jie bao
jie bao [https://community.jboss.org/people/newtypebao] created the discussion
"Does jbpm5 have these features blow?"
To view the discussion, visit: https://community.jboss.org/message/750364#750364
--------------------------------------------------------------
hi
I try to send a mail to mailto:jbpm-dev@lists.jboss.org jbpm-dev(a)lists.jboss.org,but the mail was rejected in error.
i'd like to know that whether or how many features are supported in jbpm5 .
1. Workflows can be graphically designed.
2. Drag-and-drop of workflow components
3. Can be designed by non-technical users
4. Allows tracking of workflow status
5. Subsequent workflow steps can be activated without requiring completion of previous steps
6. System calendar distinguishes work days,holidays/vacation, and work day start/end times
7. Splits and re-joins workflow branches
8. The workflow administrator can reassign workflow steps in real time
9. Workflow administrator can delegate rights to users
10. User is notified of requirements to complete tasks
11. Maintains audit trails for change tracking
12. form system
13. user management
14. diversified client view
thank you for reply
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/750364#750364]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[jBPM] - Form Builder Setup
by Mauricio Salatino
Mauricio Salatino [https://community.jboss.org/people/salaboy21] modified the document:
"Form Builder Setup"
To view the document, visit: https://community.jboss.org/docs/DOC-18940
--------------------------------------------------------------
This wiki describe the steps to set up in your local environment the jBPM form builder:
1. Download JBoss AS 7.1.1 -> http://www.jboss.org/jbossas/downloads/
2. Check fork/clone master (https://github.com/droolsjbpm/jbpm-form-builder/) and compile with mvn clean install
3. Copy jbpm-form-builder/target/jbpm-form-builder-5.4.0-SNAPSHOT.war to standalone/deployments and rename it to jbpm-form-builder.war
4. inside the standalone.xml file add a security domain for the form builder
<security-domain name="jbpm-form-builder" cache-type="default">
<authentication>
<login-module code="UsersRoles" flag="required">
<module-option name="usersProperties" value="${jboss.server.config.dir}/users.properties"/>
<module-option name="rolesProperties" value="${jboss.server.config.dir}/roles.properties"/>
</login-module>
</authentication>
</security-domain>
5. inside /standalone/configuration/ create two files: users.properties
admin=admin
salaboy=salaboy
krisv=krisv
john=john
mary=mary
sales-rep=sales-rep
and roles.properties:
admin=admin,manager,user
salaboy=admin,manager,user
krisv=admin,manager,user
john=admin,manager,user,PM
mary=admin,manager,user,HR
sales-rep=admin,manager,user,sales
6 .Start your application Server :)
There are some extra configuration points just for you to know
Inside the springComponents.xml file you will find a configuration for the Settings Service, one implementation for JTA environments like JBoss and another one for Serverl Containers like Tomcat and Jetty:
<!-- <bean id="SettingsService" class="org.jbpm.formbuilder.server.settings.DBSettingsService">
</bean>-->
<!-- JTA JBoss DBSettings Service -->
<bean id="SettingsService" class="org.jbpm.formbuilder.server.settings.JTADBSettingsService">
</bean>
The same for the persistence.xml to work with JBoss:
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="1.0"
xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:orm="http://java.sun.com/xml/ns/persistence/orm"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd">
<persistence-unit name="form-builder" transaction-type="JTA">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>java:jboss/datasources/ExampleDS</jta-data-source>
<mapping-file>META-INF/Settingsorm.xml</mapping-file>
<class>org.jbpm.model.formapi.client.SettingsEntry</class>
<class>org.jbpm.model.formapi.client.Settings</class>
<properties>
<!-- testing with H2 in memory -->
<property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
<property name="hibernate.connection.autocommit" value="true" />
<property name="hibernate.max_fetch_depth" value="3"/>
<property name="hibernate.hbm2ddl.auto" value="update" />
<property name="hibernate.show_sql" value="true" />
<property name="jboss.entity.manager.factory.jndi.name" value="java:jboss/myEntityManagerFactory" />
</properties>
</persistence-unit>
</persistence>
You can also deploy the Example Client provided by the jBPM Form Builder Github repository to have a quick consumer for your forms:
Once you deploy the application the FormHostServlet receives a parameter called formName which is the one used to go and pick the form and render it in the current application:
http://localhost:8080/jbpm-form-builder-client-example/FormHostServlet?fo...
Attached the example form used in the post: http://salaboy.com/2012/07/25/jbpm-form-builder-state-of-the-art/
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-18940]
Create a new document in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
12 years, 5 months
[jBPM] - JBPM Change/Update Variable Value
by Can Isal
Can Isal [https://community.jboss.org/people/candisappear] created the discussion
"JBPM Change/Update Variable Value"
To view the discussion, visit: https://community.jboss.org/message/749308#749308
--------------------------------------------------------------
Hello,
I have built an Inventory Tracking Process Project using JBPM Eclipse and in jbpm-console all the nodes in the process seem to be running ok. However, in the start process called "Prepare Order", I have many variables one is called "customerName". When I give a value for this variable and click "Save and Close" it works fine and saves the value for "customerName". After Start Process, I have a Task Node called "Approve Order" and to approve the
order the actor should see "customerName" variable's value. All is working fine until this point and in "Approve Order" node, actor can see the "customerName" variable value. However, when I try to change the value of "customerName" from something like "Chris" to "Christina" and click "Save and Close". The value never updates and keeps the value in the Start Process as "Chris". Is it possible to change/update value of a variable?
Please help me with this, it should be easy but I can't find any solution.
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/749308#749308]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[jBPM] - Re: Random error in Editor
by jourrey
jourrey [https://community.jboss.org/people/jourrey] created the discussion
"Re: Random error in Editor"
To view the discussion, visit: https://community.jboss.org/message/750348#750348
--------------------------------------------------------------
Thank you very much for your reply, I download jbpm-5.2.0, designer2.2 source, and then modify write something separate run on the server, did not use the Guvnor, but designer2.1 painting Reusable Subprocess can finish the processthat node designer2.2 painting to error (in question 2 above), I first designer2.1 good, then take a look, thank you for your help, my English is not good, it may give you the understanding with to haunt, very sorry.Thank you again, my first question, to hope designe2.3 can solve, I continue to look at the source designer, there js so hard, you is jbpm developers?Feel you are.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/750348#750348]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[jBPM] - jBPM persistent session ids
by Jason Jho
Jason Jho [https://community.jboss.org/people/jasonjho] created the discussion
"jBPM persistent session ids"
To view the discussion, visit: https://community.jboss.org/message/730695#730695
--------------------------------------------------------------
I am using jBPM 5.2.0 and I have a question about ksession ids. My understanding is that this session ID is used to reload a persisted session, but there is no clear indication how this is supposed to work when a server is restarted. For example, if I have a session ID [1] for a workflow process that is persisted and the server goes down, I can reload the session back to it's previous state using this same ID. However, how am I guaranteed that any new session ID created by the same knowledge base will be uniquely different from the persisted ID?
Ex:
int id = ksession.getId() ...
startProcess(...)
// server shuts down - restarts
int savedId = geSavedId();
session = JPAKnowledgeService.+loadStatefulKnowledgeSession+(savedId, kbase, *null*, env);
newSession = kbase.newStatelessKnowledgeSession(...)
newSession.getId() = ???
In the above scenario, could it be possible for newSession.getId() to have the same integer value as the previously saved ID?
If so, how would one be able to distinguish the 2 different sessions?
Thanks for any help.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/730695#730695]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[jBPM] - Form Builder Setup
by Mauricio Salatino
Mauricio Salatino [https://community.jboss.org/people/salaboy21] created the document:
"Form Builder Setup"
To view the document, visit: https://community.jboss.org/docs/DOC-18940
--------------------------------------------------------------
This wiki describe the steps to set up in your local environment the jBPM form builder:
1. Download JBoss AS 7.1.1 -> http://www.jboss.org/jbossas/downloads/
2. Check fork/clone master (https://github.com/droolsjbpm/jbpm-form-builder/) and compile with mvn clean install
3. Copy jbpm-form-builder/target/jbpm-form-builder-5.4.0-SNAPSHOT.war to standalone/deployments and rename it to jbpm-form-builder.war
4. inside the standalone.xml file add a security domain for the form builder
<security-domain name="jbpm-form-builder" cache-type="default">
<authentication>
<login-module code="UsersRoles" flag="required">
<module-option name="usersProperties" value="${jboss.server.config.dir}/users.properties"/>
<module-option name="rolesProperties" value="${jboss.server.config.dir}/roles.properties"/>
</login-module>
</authentication>
</security-domain>
5. inside /standalone/configuration/ create two files: users.properties
admin=admin
salaboy=salaboy
krisv=krisv
john=john
mary=mary
sales-rep=sales-rep
and roles.properties:
admin=admin,manager,user
salaboy=admin,manager,user
krisv=admin,manager,user
john=admin,manager,user,PM
mary=admin,manager,user,HR
sales-rep=admin,manager,user,sales
6 .Start your application Server :)
There are some extra configuration points just for you to know
Inside the springComponents.xml file you will find a configuration for the Settings Service, one implementation for JTA environments like JBoss and another one for Serverl Containers like Tomcat and Jetty:
<!-- <bean id="SettingsService" class="org.jbpm.formbuilder.server.settings.DBSettingsService">
</bean>-->
<!-- JTA JBoss DBSettings Service -->
<bean id="SettingsService" class="org.jbpm.formbuilder.server.settings.JTADBSettingsService">
</bean>
The same for the persistence.xml to work with JBoss:
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="1.0"
xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:orm="http://java.sun.com/xml/ns/persistence/orm"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd">
<persistence-unit name="form-builder" transaction-type="JTA">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>java:jboss/datasources/ExampleDS</jta-data-source>
<mapping-file>META-INF/Settingsorm.xml</mapping-file>
<class>org.jbpm.model.formapi.client.SettingsEntry</class>
<class>org.jbpm.model.formapi.client.Settings</class>
<properties>
<!-- testing with H2 in memory -->
<property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
<property name="hibernate.connection.autocommit" value="true" />
<property name="hibernate.max_fetch_depth" value="3"/>
<property name="hibernate.hbm2ddl.auto" value="update" />
<property name="hibernate.show_sql" value="true" />
<property name="jboss.entity.manager.factory.jndi.name" value="java:jboss/myEntityManagerFactory" />
</properties>
</persistence-unit>
</persistence>
You can also deploy the Example Client provided by the jBPM Form Builder Github repository to have a quick consumer for your forms:
Once you deploy the application the FormHostServlet receives a parameter called formName which is the one used to go and pick the form and render it in the current application:
http://localhost:8080/jbpm-form-builder-client-example/FormHostServlet?fo...
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-18940]
Create a new document in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
12 years, 5 months