Różnice

Różnice między wybraną wersją a wersją aktualną.

Odnośnik do tego porównania

Both sides previous revision Poprzednia wersja
Nowa wersja
Poprzednia wersja
pl:dydaktyka:dss:lab07 [2019/12/15 20:15]
kkluza [Further model extensions]
pl:dydaktyka:dss:lab07 [2020/12/07 13:28] (aktualna)
kkluza
Linia 7: Linia 7:
   * [[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:
Linia 20: Linia 24:
   * //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**. 
 +Remember to assign a unique identifier (e.g. with the initials of the people of your group), 
 +so we would not have to use the same kermit user.  
 +You will also need some users who are not administrators,​ 
 +so create new regular user accounts for each person in your group (remember about unique ids).   
  
-On the Groups tab (Manage menu), check the existing user groups. ​ 
-As an administrator user, we will use the kermit user for the time being, ​ 
-but we will also need some users who are not administrators. 
  
-Create your new user. Remember to assign a unique identifier. ​ 
  
 ==== A new process model ==== ==== A new process model ====
  
-In order to get acquainted with the application, ​we 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:
Linia 37: Linia 43:
   - //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 ====
Linia 48: Linia 56:
 {{  :​pl:​dydaktyka:​bim:​lab1:​proces1-diagram.png ​ |}} {{  :​pl:​dydaktyka:​bim:​lab1:​proces1-diagram.png ​ |}}
  
-As in the case of the process, for the BPMN elements, ​we can set the attributes ​on the right side.+As in the case of the process, for the BPMN elements, ​you can set the selected ​attributes:
    
-  * For //Start event//:+  * for //Start event//:
     * //​Documentation//:​ Start proceeding with an offer.     * //​Documentation//:​ Start proceeding with an offer.
     * //​Initiator//:​ initiator (the user who initiated the process will be stored in this variable)     * //​Initiator//:​ initiator (the user who initiated the process will be stored in this variable)
     * //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 ​ |}} 
  
-  ​For //Specify offer// task:+{{  :​pl:​dydaktyka:​dss:​lab:​form-properties-alfresco.png?​400 ​ |}} 
 + 
 +  ​for //Specify offer// task:
     * //​Documentation//:​ Please add available specification for an offer as attachments.     * //​Documentation//:​ Please add available specification for an offer as attachments.
-    * //​Assignments//: ​we have three possibilities\\+    * //​Assignments//: ​there are three possibilities\\
       * ''​assignee''​ -- assign a task to a specific user,       * ''​assignee''​ -- assign a task to a specific user,
       * ''​candidateUsers''​ -- assign a task so that any of several users can perform it,       * ''​candidateUsers''​ -- assign a task so that any of several users can perform it,
Linia 66: Linia 75:
 In our case, set only the variable ''​assignee''​ to ''​${initiator}''​ -- this means that as a task executor, we indicate the person who started the process. In our case, set only the variable ''​assignee''​ to ''​${initiator}''​ -- this means that as a task executor, we indicate the person who started the process.
  
-In addition, for this task we also set //Form properties//:​+In addition, for this taskwe also set //Form properties//:​
    * //​Specifications details// (id: ''​specDetails''​) -- level of detail of the specification of the contract offer (for now we set it as a ''​boolean''​),​ in the next part, we will transform this variable into an enum type (accurate, sufficient, insufficient).    * //​Specifications details// (id: ''​specDetails''​) -- level of detail of the specification of the contract offer (for now we set it as a ''​boolean''​),​ in the next part, we will transform this variable into an enum type (accurate, sufficient, insufficient).
    * //Person responsible//​ (id: ''​responsible''​) -- a person assigned to the formal analysis of the application (responsible for carrying out the analysis); such a person will be assigned to a variable.    * //Person responsible//​ (id: ''​responsible''​) -- a person assigned to the formal analysis of the application (responsible for carrying out the analysis); such a person will be assigned to a variable.
Linia 75: Linia 84:
 ==== 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
Linia 95: Linia 104:
  
 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.
  
  
pl/dydaktyka/dss/lab07.1576437328.txt.gz · ostatnio zmienione: 2019/12/15 20:15 przez kkluza
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0