Both sides previous revision
Poprzednia wersja
Nowa wersja
|
Poprzednia wersja
|
pl:dydaktyka:dss:lab07 [2019/12/16 12:46] kkluza |
pl:dydaktyka:dss:lab07 [2020/12/07 13:28] (aktualna) kkluza |
* [[http://www.manning.com/rademakers2/|Activiti in Action]] | * [[http://www.manning.com/rademakers2/|Activiti in Action]] |
| |
During the lab, we will use Activiti 5.22. It can be installed from [[https://www.activiti.org/get-started]] | This instruction is for labs **30.11.2020** and **07.12.2020**. |
or used online on the temporary server: [[http://167.172.110.65:8080/activiti-explorer/]]. | During these labs, we will use Activiti 5.22. |
| You can install it from [[https://www.activiti.org/get-started]] |
| or use the online version on the temporary server: [[http://134.209.241.80:8080/activiti-explorer/]]. |
| |
| **But please remember to save your working models in files between classes, as the temporary server will not store the data between the classes. Do not change the password for the admin account, otherwise, the restart of the server will be needed and you will lose your models.** |
| |
Log in to an admin account: | Log in to an admin account: |
* //Manage// -- other resources, e.g. users, groups, database management or process implementation. | * //Manage// -- other resources, e.g. users, groups, database management or process implementation. |
| |
==== Accounts ==== | Using the //Groups// tab (//Manage menu//), check the existing user groups. |
| As an administrator user, **create your own admin account**. |
On the Groups tab (Manage menu), check the existing user groups. | Remember to assign a unique identifier (e.g. with the initials of the people of your group), |
As an administrator user, create your own admin account. | |
Remember to assign a unique identifier. | |
so we would not have to use the same kermit user. | so we would not have to use the same kermit user. |
You will also need some users who are not administrators, | You will also need some users who are not administrators, |
so create a new regular user account (remember about a unique id). | so create new regular user accounts for each person in your group (remember about unique ids). |
| |
| |
| |
==== A new process model ==== | ==== A new process model ==== |
| |
In order to get acquainted with the application, as administrator, you will prepare a very simplified model of gathering offers. | In order to get acquainted with the application, as an administrator, you will prepare a very simplified model of gathering offers. |
| |
Select the **Processes** tab from the menu. You should see 3 tabs: | Select the **Processes** tab from the menu. You should see 3 tabs: |
- //Model workspace// -- to create new models and to implement or edit existing process models. | - //Model workspace// -- to create new models and to implement or edit existing process models. |
| |
In the opened **Activiti Modeler** application window, set the process attributes (on the right side of the window). | In the opened **Alfresco Activiti Modeler** application window, set the process attributes. |
The essential elements are the process identifier (//Process identifier//) and the process name (//Name//), | The essential elements are the process identifier (//Process identifier//) and the process name (//Name//), |
which will allow you to distinguish your process from other processes or other users' processes. | which will allow you to distinguish your process from other processes or other users' processes. |
Complete also the process author field (//Process author//). | Complete also the process author field (//Process author//). |
| |
| {{ :pl:dydaktyka:dss:lab:activiti-process-id.png?500 |}} |
| |
==== Simple process modelling ==== | ==== Simple process modelling ==== |
* //Name//: Offer received | * //Name//: Offer received |
* //Form properties// -- click on ... and in the new window set the properties according to the following screenshot:\\ | * //Form properties// -- click on ... and in the new window set the properties according to the following screenshot:\\ |
{{ :pl:dydaktyka:bim:lab1::form-properties.png |}} | |
| {{ :pl:dydaktyka:dss:lab:form-properties-alfresco.png?400 |}} |
| |
* for //Specify offer// task: | * for //Specify offer// task: |
==== Executing a simple process model ==== | ==== Executing a simple process model ==== |
| |
Save a model and exit **Activiti Modeler**. | Save a model and exit **Alfresco Activiti Modeler**. |
Go back to **Activiti Explorer**. | Go back to **Activiti Explorer**. |
In //Model workspace//, select your process from the menu | In //Model workspace//, select your process from the menu |
| |
Historic data of the process are saved in the database, which is available in the //Database// tab (in the **Manage** tab). Find the table ''ACT_HI_PROCINST'' and find your process there. | Historic data of the process are saved in the database, which is available in the //Database// tab (in the **Manage** tab). Find the table ''ACT_HI_PROCINST'' and find your process there. |
Because for this laboratory, Activiti installation with Activiti Modeler does not save models permanently, save your model on the hard disk. To do this from the menu //Deployments// select //Show all// and search for your process. Save your process file (file with extension **.bpmn20.xml**) and view its syntax. Note some process tag attributes, as well as the additional attributes of other process elements used by Activiti. | Because for this laboratory, Activiti installation with Alfresco Activiti Modeler does not save models permanently, save your model on the hard disk. To do this from the menu //Deployments// select //Show all// and search for your process. Save your process file (file with extension **.bpmn20.xml**) and view its syntax. Note some process tag attributes, as well as the additional attributes of other process elements used by Activiti. |
| |
| |