Documentation for JBPM Console

Documentation for JBPM Console

Documentation for JBPM Console Table of Contents Page 2 of 4 Table of Contents Table of Contents 2 JBPM Console 3 How to deploy a workflow 3 Register the workflow in the desired tenant 3 Make the workflow available in the user profile 3 Configuring jPBM 4 Created in 2016 by OpenKM. OpenKM documentation is provided under OpenKM documentation license. JBPM Console Page 3 of 4 JBPM Console In OpenKM v7.1 the workflow engine is deployed as an independient application to ensure security and stability. This application contains the jBPM workflow engine which was previously embedded in OpenKM v6.4 How to deploy a workflow In order to deploy a new workflow, you have to point your browser to http://your-site.tdl/jbpm-console and go to "Admin". The default user and password is admin / admin. Once logged, you should see a list of deployed workflows. And also can deploy a new one using the form. Keep on mind that this new workflow won't be avaible in OpenKM until you do a couple of tasks: Register the workflow in the desired tenant Currently the way of achieving it is executing an SQL sentence. For example, to register the workflow name "purchase" in the first tenant: insert into OKM_ENTITY_TENANT (ETN_ENTITY, ETN_TENANT, ETN_TYPE) values ('purchase', 1, 'workflow'); Oracle and PostgreSQL databases insert need to set the ETN_ID column value. Oracle: insert into OKM_ENTITY_TENANT (ETN_ID, ETN_ENTITY, ETN_TENANT, ETN_TYPE) values (HIBERNATE_SEQUENCE.NEXTVAL, 'purchase', 1, 'workflow'); PostgreSQL: insert into OKM_ENTITY_TENANT (ETN_ID, ETN_ENTITY, ETN_TENANT, ETN_TYPE) values (nextval('hibernate_sequence'), 'purchase', 1, 'workflow'); So you need to go to OpenKM Administration > Utilities > Database query and execute it. In next OpenKM release this won't be necessary as a new utility has been added to Administration > Utilities called Workflow tenant. Make the workflow available in the user profile Go to Administration > Profiles and choose the workflow to be available to the users who use the profile. Created in 2016 by OpenKM. OpenKM documentation is provided under OpenKM documentation license. JBPM Console Page 4 of 4 Configuring jPBM Steps to install and configure the workflow engine in OpenKM v7.1: Stop Tomcat The workflow engine is available at OpenKM download center (jBPM Console) Place the jbpm-console.war file into $TOMCAT_HOME/webapps Create the database: CREATE DATABASE jbpm_console DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_bin; CREATE USER jbpm_console@localhost IDENTIFIED BY 'choose-any-pass'; GRANT ALL ON jbpm_console.* TO jbpm_console@localhost WITH GRANT OPTION; Create the configuration file $TOMCAT_HOME/jbpm-console.properties # Database hibernate.connection.driver=com.mysql.cj.jdbc.Driver hibernate.connection.url=jdbc:mysql://localhost:3306/jbpm_console?autoReconnect=true&useUnicode=true&characterEncoding=UTF8&serverTimezone=CET hibernate.connection.username=jbpm_console hibernate.connection.password=choose-any-pass hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect hibernate.hbm2ddl=create # Authentication console.user=admin console.password=admin Start Tomcat Log into OpenKM and go to Administration > Config Set the workflow.adapter configuration property to com.openkm.workflow.adapter.JbpmRemoteWorkflowAdapter By default the jBPM Console application will be available at http://localhost:8080/jbpm-console/. The Admin section is restricted. You can change the workflow url with the configuration parameter named workflow.adapter.url. By default the user and password are set to "admin" and "admin". This user and password can be changed (and it's recommended). To change it, please edit the jbpm-console.properties and set the console.user and console.password properties. Keep on mind that you need to restart Tomcat to make this change effective, and also change the workflow.adapter.login and workflow.adapter.password in the OpenKM side. To deploy a workflow, go to http://localhost:8080/jbpm-console/admin/workflow In this page, you can also access to previously deployed workflows, process instances and so on. Created in 2016 by OpenKM. OpenKM documentation is provided under OpenKM documentation license. .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    4 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us