<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://training-course-material.com/index.php?action=history&amp;feed=atom&amp;title=Activiti_for_Business_Process_Designers</id>
	<title>Activiti for Business Process Designers - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://training-course-material.com/index.php?action=history&amp;feed=atom&amp;title=Activiti_for_Business_Process_Designers"/>
	<link rel="alternate" type="text/html" href="https://training-course-material.com/index.php?title=Activiti_for_Business_Process_Designers&amp;action=history"/>
	<updated>2026-05-30T18:06:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://training-course-material.com/index.php?title=Activiti_for_Business_Process_Designers&amp;diff=28447&amp;oldid=prev</id>
		<title>Filip Stachecki at 01:09, 20 November 2015</title>
		<link rel="alternate" type="text/html" href="https://training-course-material.com/index.php?title=Activiti_for_Business_Process_Designers&amp;diff=28447&amp;oldid=prev"/>
		<updated>2015-11-20T01:09:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Activiti]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;noprint&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;slideshow style=&amp;quot;nobleprog&amp;quot; headingmark=&amp;quot;⌘&amp;quot; incmark=&amp;quot;⌘&amp;quot; scaled=&amp;quot;false&amp;quot; font=&amp;quot;Trebuchet MS&amp;quot; &amp;gt;&lt;br /&gt;
;title: Activiti for Business Process Designers&lt;br /&gt;
;author: &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;Filip Stachecki (NobleProg)&lt;br /&gt;
&amp;lt;/slideshow&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Can I use your material}}&lt;br /&gt;
https://www.dropbox.com/s/3tfxf5kgmxh8xsi/request.form?dl=0&lt;br /&gt;
=Introduction⌘=&lt;br /&gt;
==License⌘==&lt;br /&gt;
[[File:ClipCapIt-150713-202223.PNG]]&lt;br /&gt;
* Activiti is distributed under the Apache V2 license (http://www.apache.org/licenses/LICENSE-2.0.html). &lt;br /&gt;
* The Activiti Modeler uses a different license the LGPL 2.1 license (http://opensource.org/licenses/LGPL-2.1).&lt;br /&gt;
==Download⌘==&lt;br /&gt;
* http://activiti.org/download.html&lt;br /&gt;
==Required software⌘==&lt;br /&gt;
* JDK 6+&lt;br /&gt;
&amp;lt;!-- * Ant --&amp;gt;&lt;br /&gt;
* Eclipse (for Activiti Designer)&lt;br /&gt;
* Tomcat (any web container, but Tomcat is recommended)&lt;br /&gt;
* H2 database&lt;br /&gt;
===Required software - database⌘===&lt;br /&gt;
* Activiti Explorer runs an in-memory H2 database &amp;#039;&amp;#039;&amp;#039;by default&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
* To run the Activiti Explorer with a standalone H2 or another database the &amp;#039;&amp;#039;&amp;#039;db.properties&amp;#039;&amp;#039;&amp;#039; in the WEB-INF/classes of the Activiti Explorer web application should be changed.&lt;br /&gt;
* Change the line:&lt;br /&gt;
 jdbc.url=jdbc:h2:mem:activiti&lt;br /&gt;
* to&lt;br /&gt;
 jdbc.url=jdbc:h2:tcp://localhost/~/activiti&lt;br /&gt;
===H2 console⌘===&lt;br /&gt;
* open H2 console and connect&lt;br /&gt;
[[File:ClipCapIt-150726-135745.PNG]]&lt;br /&gt;
&lt;br /&gt;
==Activiti Components⌘==&lt;br /&gt;
[[File:ClipCapIt-150713-211700.PNG]]&lt;br /&gt;
&lt;br /&gt;
http://activiti.org/components.html&lt;br /&gt;
&lt;br /&gt;
===Activiti Components - Modeling⌘===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Activiti Modeler&amp;#039;&amp;#039;&amp;#039; - a BPMN web modeler, part of the Activiti Explorer web application. Used to be based on Signavio.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Activiti Designer&amp;#039;&amp;#039;&amp;#039; - an Eclipse plugin which allows you to model BPMN 2.0 processes from within your IDE-environment.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Activiti Kickstart&amp;#039;&amp;#039;&amp;#039; - tool that allows creating processes with no XML or programming language knowledge&lt;br /&gt;
&lt;br /&gt;
===Activiti Components - Runtime⌘===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Activiti Engine&amp;#039;&amp;#039;&amp;#039; - Java process engine that runs BPMN 2 processes&lt;br /&gt;
[[File:ClipCapIt-150731-123308.PNG]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;source: http://activiti.org/userguide/index.html&amp;lt;/small&amp;gt;&lt;br /&gt;
* The engine API is the most common way of interacting with Activiti. The central starting point is the ProcessEngine&lt;br /&gt;
&lt;br /&gt;
===Activiti Components - Management⌘===&lt;br /&gt;
[[File:ClipCapIt-150721-105546.PNG]]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Activiti Explorer&amp;#039;&amp;#039;&amp;#039; - a web application that provides access to the Activiti Engine runtime for all users of the system&lt;br /&gt;
** It includes task management, process instance inspection, management features and viewing reports based on statistical history data.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Activiti REST&amp;#039;&amp;#039;&amp;#039; - a REST API to the Activiti Engine&lt;br /&gt;
==Activiti Competitors⌘==&lt;br /&gt;
* [[File:ClipCapIt-150720-153732.PNG]]&lt;br /&gt;
** In 2010 the two key developers for jBPM: Tom Baeyens and Joram Barrez left Red Hat and started Activiti&lt;br /&gt;
** Activiti and jBPM have a lot of the same concepts&lt;br /&gt;
** jBPM is integrated with Drools&lt;br /&gt;
* [[File:ClipCapIt-150720-153910.PNG]]&lt;br /&gt;
** Activiti is more developer-focused&lt;br /&gt;
==Running Activiti⌘==&lt;br /&gt;
* start Tomcat&lt;br /&gt;
* open browser and go to http://localhost:8080/activiti-explorer&lt;br /&gt;
* login with kermit/kermit&lt;br /&gt;
&lt;br /&gt;
=Activiti Modeler⌘=&lt;br /&gt;
[[File:ClipCapIt-150722-130944.PNG]]&lt;br /&gt;
* Activiti Modeler is a BPMN web modeler component that’s available as part of the Activiti Explorer web application.&lt;br /&gt;
* The Modeler is a fork of the Signavio Core Components project.&lt;br /&gt;
* Since version 5.17.0 maintained and developed as part of the Activiti project.&lt;br /&gt;
==Creating New Model⌘==&lt;br /&gt;
[[File:ClipCapIt-150722-132858.PNG]]&lt;br /&gt;
===Table-driven definition⌘===&lt;br /&gt;
[[File:ClipCapIt-150722-133303.PNG]]&lt;br /&gt;
* formerly known as &amp;quot;Kickstart&amp;quot;&lt;br /&gt;
* allows to build simple processes with a table-based view and adding forms&lt;br /&gt;
===Exercises⌘===&lt;br /&gt;
* DEMO: Creating new model using table-driven definition&lt;br /&gt;
* Exercise&lt;br /&gt;
&lt;br /&gt;
===Activiti Modeler⌘===&lt;br /&gt;
[[File:ClipCapIt-150722-133119.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Exercises⌘===&lt;br /&gt;
* DEMO: Creating new model using Activiti Modeler&lt;br /&gt;
* Exercise&lt;br /&gt;
&lt;br /&gt;
=Activiti Explorer⌘=&lt;br /&gt;
==Task Management⌘==&lt;br /&gt;
[[File:ClipCapIt-150723-101836.PNG]]&lt;br /&gt;
==Processes⌘==&lt;br /&gt;
[[File:ClipCapIt-150723-103559.PNG]]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Processes&amp;#039;&amp;#039;&amp;#039; tab allows to see all process definitions that are deployed to the Activiti engine and start new process instances.&lt;br /&gt;
===My Instances⌘===&lt;br /&gt;
[[File:ClipCapIt-150728-095648.PNG]]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;My instances&amp;#039;&amp;#039;&amp;#039; tab shows all the process instances with an uncompleted user task. &lt;br /&gt;
* It also shows the current activities of the process instance and the stored process variables.&lt;br /&gt;
&lt;br /&gt;
==Reporting⌘==&lt;br /&gt;
[[File:ClipCapIt-150728-094722.PNG]]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Reports&amp;#039;&amp;#039;&amp;#039; tab presents some report examples and allows adding new reports to the system&lt;br /&gt;
* Reporting feature doesn&amp;#039;t work under JDK8 (Activiti 5.17.0) - package import problems&lt;br /&gt;
===Report process example⌘===&lt;br /&gt;
[[File:ClipCapIt-150728-123804.PNG]]&lt;br /&gt;
* The data that is used to create lists and charts in the report is generated by a process (with activiti-report as category).&lt;br /&gt;
===Generate reports⌘===&lt;br /&gt;
[[File:ClipCapIt-150728-100157.PNG]]&lt;br /&gt;
* Shows a list of all reports known to the system. &lt;br /&gt;
* Allows to run the report generation.&lt;br /&gt;
====Report example⌘====&lt;br /&gt;
[[File:ClipCapIt-150728-115233.PNG]]&lt;br /&gt;
&lt;br /&gt;
===Saved reports⌘===&lt;br /&gt;
[[File:ClipCapIt-150728-122707.PNG]]&lt;br /&gt;
* Shows a list of all &amp;#039;&amp;#039;&amp;#039;personal&amp;#039;&amp;#039;&amp;#039; reports that were previously saved.&lt;br /&gt;
* It is not possible to see the saved reports of someone else.&lt;br /&gt;
&lt;br /&gt;
==Management⌘==&lt;br /&gt;
===Database⌘===&lt;br /&gt;
[[File:ClipCapIt-150723-104722.PNG]]&lt;br /&gt;
* Database tab shows tables stored in database&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
3.7. Database table names explained&lt;br /&gt;
The database names of Activiti all start with ACT_. The second part is a two-character identification of the use case of the table. This use case will also roughly match the service API.&lt;br /&gt;
&lt;br /&gt;
ACT_RE_*: RE stands for repository. Tables with this prefix contain static information such as process definitions and process resources (images, rules, etc.).&lt;br /&gt;
ACT_RU_*: RU stands for runtime. These are the runtime tables, that contain the runtime data of process instances, user tasks, variables, jobs, etc. Activiti only stores the runtime data during process instance execution, and removes the records when a process instance ends. This keeps the runtime tables small and fast.&lt;br /&gt;
ACT_ID_*: ID stands for identity. These tables contain identity information, such as users, groups, etc.&lt;br /&gt;
ACT_HI_*: HI stands for history. These are the tables that contain historic data, such as past process instances, variables, tasks, etc.&lt;br /&gt;
ACT_GE_*: general data, which is used in various use cases.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Deployments⌘===&lt;br /&gt;
[[File:ClipCapIt-150723-104907.PNG]]&lt;br /&gt;
* A deployment stores deployed process or processes.&lt;br /&gt;
* A deployment can contain multiple BPMN 2.0 xml files and any other resource.&lt;br /&gt;
&lt;br /&gt;
===Jobs⌘===&lt;br /&gt;
[[File:ClipCapIt-150723-105126.PNG]]&lt;br /&gt;
* jobs can be used to execute timer events&lt;br /&gt;
===Users and Groups⌘===&lt;br /&gt;
[[File:ClipCapIt-150723-110744.PNG]]&lt;br /&gt;
===Administration⌘===&lt;br /&gt;
[[File:ClipCapIt-150723-111004.PNG]]&lt;br /&gt;
* Administration tab allows to check:&lt;br /&gt;
** running / completed process instances&lt;br /&gt;
** database settings&lt;br /&gt;
===Crystalball⌘===&lt;br /&gt;
[[File:ClipCapIt-150723-111601.PNG]]&lt;br /&gt;
*CrystalBall is simulation engine for Activiti Business Process Management Platform.&lt;br /&gt;
*It is still experimental&lt;br /&gt;
&lt;br /&gt;
=Activiti Designer⌘=&lt;br /&gt;
*  Activiti (Eclipse) Designer is an Eclipse plugin, that can be used to graphically model, test and deploy BPMN 2.0 processes.&lt;br /&gt;
==Installation⌘==&lt;br /&gt;
[[File:ClipCapIt-150724-130824.PNG]]&lt;br /&gt;
* In Eclipse go to Help → Install New Software. &lt;br /&gt;
* Click on Add button and fill in the following fields:&lt;br /&gt;
** Name: Activiti BPMN 2.0 designer&lt;br /&gt;
**Location: http://activiti.org/designer/update/&lt;br /&gt;
==Create new process diagram⌘==&lt;br /&gt;
[[File:ClipCapIt-150724-131939.PNG]]&lt;br /&gt;
==Generate JUnit test⌘==&lt;br /&gt;
[[File:ClipCapIt-150724-132337.PNG]]&lt;br /&gt;
==JUnit example⌘==&lt;br /&gt;
[[File:ClipCapIt-150726-193004.PNG]]&lt;br /&gt;
==Add Referenced Libraries⌘==&lt;br /&gt;
[[File:ClipCapIt-150726-222046.PNG]]&lt;br /&gt;
==Debugging JUnit test⌘==&lt;br /&gt;
[[File:ClipCapIt-150726-220704.PNG]]&lt;br /&gt;
* add breakpoint in unit test file&lt;br /&gt;
* Debug As -&amp;gt; JUnit Test&lt;br /&gt;
* switch to Debug perspective&lt;br /&gt;
[[File:ClipCapIt-150726-220928.PNG]]&lt;br /&gt;
&lt;br /&gt;
==Deploying processes⌘==&lt;br /&gt;
*activiti.cfg.xml file:&lt;br /&gt;
[[File:ClipCapIt-150727-121924.PNG]]&lt;br /&gt;
&lt;br /&gt;
=Activiti REST⌘=&lt;br /&gt;
* Activiti includes a REST API to the Activiti Engine&lt;br /&gt;
* REST can be installed:&lt;br /&gt;
** by deploying the activiti-rest.war file Tomcat webapps folder&lt;br /&gt;
** by including the servlet and all activiti-rest dependencies in your application&lt;br /&gt;
* REST API uses JSON format&lt;br /&gt;
* All REST-resources require a valid Activiti-user&lt;br /&gt;
 kermit:kermit@localhost:8080/activiti-rest/service/repository/deployments/{deploymentId}&lt;br /&gt;
&lt;br /&gt;
http://activiti.org/userguide/index.html#_rest_api&lt;br /&gt;
==Activiti REST examples⌘==&lt;br /&gt;
* get list of process definitions&lt;br /&gt;
 localhost/activiti-rest/service/repository/process-definitions&lt;br /&gt;
* get a list of models&lt;br /&gt;
 localhost/activiti-rest/service/repository/models&lt;br /&gt;
* get a list of process instancess&lt;br /&gt;
 localhost/activiti-rest/service/runtime/process-instances&lt;br /&gt;
* get a list of tables&lt;br /&gt;
 localhost/activiti-rest/service/management/tables&lt;br /&gt;
&lt;br /&gt;
=Appendix⌘=&lt;br /&gt;
==References⌘==&lt;br /&gt;
* http://activiti.org/userguide/index.html&lt;br /&gt;
* [[File:ClipCapIt-150726-142013.PNG]] Tijs Rademakers, Activiti in Action. Executable business processes in BPMN 2.0, ISBN: 9781617290121&lt;br /&gt;
** http://www.manning.com/rademakers2/?a_aid=ActivitiInAction&lt;br /&gt;
** Use promotional code &amp;#039;&amp;#039;&amp;#039;12aia37&amp;#039;&amp;#039;&amp;#039; to get 37% discount&lt;/div&gt;</summary>
		<author><name>Filip Stachecki</name></author>
	</entry>
</feed>