Skip to content

Commit

Permalink
Merge pull request #13 from Bonitasoft-Community/7.7-update
Browse files Browse the repository at this point in the history
7.7 update
  • Loading branch information
Antoine Mottier authored Aug 7, 2018
2 parents 62e3b61 + d63b1d2 commit d366d87
Show file tree
Hide file tree
Showing 56 changed files with 75 additions and 59 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ Bonita Camp - 7.x
Slides and exercises for the Bonita Camp events.

Content is available in:
- English (Bonita Camp 7.6)
- English (Bonita Camp 7.7)
- French (Bonita Camp 7.6)
- Spanish (Bonita BPM 7.2)

## Get the latest version
You can get the latest version of slides and exercices by downloading the [latest release](https://github.com/Bonitasoft-Community/bonita-camp/releases/latest) from GitHub.

## Build instructions for slides
1. Download and unzip [reveal.js version 3.6.0](https://github.com/hakimel/reveal.js/releases/tag/3.6.0)
1. Download and unzip [reveal.js version 3.7.0](https://github.com/hakimel/reveal.js/releases/tag/3.7.0)
2. Paste the content of the `slides/THE_LANGUAGE/` folder into your `reveal.js` directory
3. Paste the content of the `slides/theme` folder in your `reveal.js/css/theme/source` folder
4. Run `npm install`
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 5 additions & 3 deletions exercices/source/en/chapters/ex1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<section>
<title>Instructions overview</title>
<para>In order to complete the exercise, create a "Leave request diagram" diagram in version 1.0 containing a "Leave request" process in version 1.0.</para>
<para>In order to complete the exercise, create a "LeaveRequestDiagram" diagram in version 1.0.0 containing a "LeaveRequest" process in version 1.0.0.</para>
<para>The process pool should contain the following BPMN elements:</para>
<itemizedlist mark='bullet'>
<listitem><para>A start event named "Fill request"</para></listitem>
Expand All @@ -35,8 +35,8 @@
<listitem><para><emphasis role="bold">Create a new process diagram.</emphasis></para></listitem>
<listitem>
<para><emphasis role="bold">Set the diagram and process names.</emphasis></para>
<para>Click on the "Diagram / Rename..." top menu.</para>
<para>Enter "Leave request diagram" as the diagram name and "Leave request" as the pool name.</para>
<para>Click on the "File / Rename diagram..." top menu.</para>
<para>Enter "LeaveRequestDiagram" as the diagram name, "LeaveRequest" as the pool name and set the version to 1.0.0 for both.</para>
<para>
<mediaobject>
<imageobject>
Expand Down Expand Up @@ -99,6 +99,8 @@
<listitem><para><emphasis role="bold">Add an end event named "End - Request rejected" next to the service task "Notify request rejected"</emphasis></para></listitem>
<listitem>
<para><emphasis role="bold">Name the two transitions going out of the gateway</emphasis></para>
<para>Select the transition.</para>
<para>Navigate to the "General / General" tab and enter the name.</para>
<para>The transition leading to the "Notify request approved" task should be named "Yes" and the other "No".</para>
</listitem>
<listitem>
Expand Down
8 changes: 4 additions & 4 deletions exercices/source/en/chapters/ex2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<section>
<title>Instructions overview</title>
<para>Duplicate the process diagram from the previous exercise to create a 2.0 version.</para>
<para>Duplicate the process diagram from the previous exercise to create a 2.0.0 version.</para>
<para>Create a "LeaveRequest" BDM with the following attributes (don't use the "Multiple" option):</para>
<informaltable frame="all">
<tgroup cols="3" align="left" colsep="1" rowsep="1">
Expand Down Expand Up @@ -79,13 +79,13 @@
<title>Step by step instructions</title>
<orderedlist>
<listitem>
<para><emphasis role="bold">Duplicate the process diagram from the previous exercise to create a 2.0 version.</emphasis></para>
<para>In the Studio's top menu, click on "Diagram / Duplicate".</para>
<para><emphasis role="bold">Duplicate the process diagram from the previous exercise to create a 2.0.0 version.</emphasis></para>
<para>In the Studio's top menu, click on "File / Duplicate diagram...".</para>
<para>Update the process diagram AND pool version numbers.</para>
</listitem>
<listitem>
<para><emphasis role="bold">Create the "LeaveRequest" BDM</emphasis></para>
<para>Navigate to the "Development / Business Data Model / Manage" top menu.</para>
<para>Navigate to the "Development / Business Data Model / Define..." top menu.</para>
<para>Click on "Add" (A) in the "List of Business Objects" and name the object "LeaveRequest" (B) (this is a technical name so it should not contain spaces or special characters).</para>
<para>With the "LeaveRequest" object selected, add the following attributes (C):</para>
<informaltable frame="all">
Expand Down
10 changes: 7 additions & 3 deletions exercices/source/en/chapters/ex3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<section>
<title>Instructions overview</title>
<para>Duplicate the process diagram from the previous exercise to create a 3.0 version.</para>
<para>Duplicate the process diagram from the previous exercise to create a 2.1.0 version.</para>
<para>Create the following forms:</para>
<itemizedlist mark='bullet'>
<listitem><para>A case instantiation form at pool level that sets the "leaveStart" and "dayCount" data.</para></listitem>
Expand All @@ -21,7 +21,7 @@
<section>
<title>Step by step instructions</title>
<orderedlist>
<listitem><para><emphasis role="bold">Duplicate the process diagram from the previous exercise to create a 3.0 version.</emphasis></para></listitem>
<listitem><para><emphasis role="bold">Duplicate the process diagram from the previous exercise to create a 2.1.0 version.</emphasis></para></listitem>
<listitem>
<para><emphasis role="bold">Create a case instantiation form.</emphasis></para>
<para>Select the process pool, and navigate to the "Execution / Instantiation form" tab.</para>
Expand Down Expand Up @@ -57,7 +57,7 @@
<tbody>
<row>
<entry>Text</entry>
<entry>Fill a New Leave Request</entry>
<entry>Fill a new leave request</entry>
</row>
<row>
<entry>Text level</entry>
Expand Down Expand Up @@ -352,6 +352,10 @@
</tgroup>
</informaltable>
</listitem>
<listitem>
<para><emphasis role="bold">Add a form container</emphasis></para>
<para>Drag an "Form container" widget from the palette and drop it on a new row under the "Number of days" widget.</para>
</listitem>
<listitem>
<para><emphasis role="bold">Add a widget to reject the request</emphasis></para>
<para>Drag a "Button" widget from the palette and drop it in the form container (highlight with a dashed border).</para>
Expand Down
6 changes: 3 additions & 3 deletions exercices/source/en/chapters/ex4.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@

<section>
<title>Instructions overview</title>
<para>Duplicate the process diagram from the previous exercise to create a 4.0 version.</para>
<para>Duplicate the process diagram from the previous exercise to create a 3.0.0 version.</para>
<para>Add a "Validator" lane to the diagram and move the "Validate request" task in it.</para>
<para>Add an actor filter of type "Initiator manager" on the "Validator" lane.</para>
</section>

<section>
<title>Step by step instructions</title>
<orderedlist>
<listitem><para><emphasis role="bold">Duplicate the process diagram from the previous exercise to create a 4.0 version.</emphasis></para></listitem>
<listitem><para><emphasis role="bold">Duplicate the process diagram from the previous exercise to create a 3.0.0 version.</emphasis></para></listitem>
<listitem>
<para><emphasis role="bold">Add a "Validator" lane to the process.</emphasis></para>
<para>Select the "Lane" element from the BPMN palette and click in the process pool.</para>
Expand All @@ -35,7 +35,7 @@
<listitem><para><emphasis role="bold">Drag and drop the "Validate request" task into the "Validator" lane.</emphasis></para></listitem>
<listitem>
<para><emphasis role="bold">Add an "Initiator manager" actor filter on the "Validator" lane.</emphasis></para>
<para>Select the "Validator" lane and navigate to the "General / Actor" tab.</para>
<para>Select the "Validator" lane and navigate to the "General / Actors" tab.</para>
<para>Select the "Employee actor" from the drop-down menu.</para>
<para>Click on the "Set..." button of the actor filter.</para>
<para>Select an "Initiator manager" filter and click on "Next".</para>
Expand Down
4 changes: 2 additions & 2 deletions exercices/source/en/chapters/ex5.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<section>
<title>Instructions overview</title>
<para>Obtain and start the FakeSMTP server.</para>
<para>Duplicate the process diagram from the previous exercise to create a 5.0 version.</para>
<para>Duplicate the process diagram from the previous exercise to create a 3.1.0 version.</para>
<para>Add an email connector on the "Notify request approved" and "Notify request rejected" service tasks.
These will send an email to the requestor with the request validation status.</para>
<para>The following code will be used to retrieve the requestor's email in the connector:</para>
Expand All @@ -37,7 +37,7 @@
</para>
<para>Once the user interface is displayed, set the listenning port to 2525 and click on the "Start server" button.</para>
</listitem>
<listitem><para><emphasis role="bold">Duplicate the process diagram from the previous exercise to create a 5.0 version.</emphasis></para></listitem>
<listitem><para><emphasis role="bold">Duplicate the process diagram from the previous exercise to create a 3.1.0 version.</emphasis></para></listitem>
<listitem>
<para><emphasis role="bold">Test the email connector to obtain the right SMTP configuration.</emphasis></para>
<para>Navigate to the "Development / Connectors / Test connector" top menu.</para>
Expand Down
14 changes: 7 additions & 7 deletions exercices/source/en/chapters/ex6.xml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
<para>In the Portal, navigate to the Applications tab.</para>
<para>Click on New.</para>
<para>Enter "Leave request app" in the field "Display name" (A).</para>
<para>Enter "leaveRequest" in the field "URL" (B).</para>
<para>Enter "leave-request" in the field "URL" (B).</para>
<para>Leave the defaults value for the Version (C) and Profile (D).</para>
<para>
<mediaobject>
Expand All @@ -266,7 +266,7 @@
</para>
<para>Click on "Create" to create the application.</para>
<para>Click on "..." to access the configuration page.</para>
<para>Find the Pages section on the bottom left part of the screen and Click on "Add". Select the page leaveRequest and enter "status" in the URL field.</para>
<para>Find the Pages section on the bottom left part of the screen and Click on "Add". Select the page LeaveRequestStatus and enter "status" in the URL field.</para>
<para>Define the leaveRequest page as the homepage by clicking on the "house" icon <guiicon><inlinegraphic contentwidth="70%" contentdepth="70%" fileref="resources/ex6_11.png"/></guiicon>.</para>
<para>Once done, click on the trash icon <guiicon><inlinegraphic contentwidth="70%" contentdepth="70%" fileref="resources/ex6_12.png"/></guiicon> to delete the default homepage.</para>
<para>The configuration page should now look like that:</para>
Expand All @@ -277,7 +277,7 @@
</imageobject>
</mediaobject>
</para>
<para>Click on the link "../apps/leaveRequest" to load the application.</para>
<para>Click on the link "../apps/leave-request" to load the application.</para>
<para>
<mediaobject>
<imageobject>
Expand Down Expand Up @@ -306,24 +306,24 @@
<para>Click on "Create a new variable" and choose "External API".</para>
<para>Name it "processDefinitionInfo".</para>
<para>In the field API URL, enter: (no line break)</para>
<para><programlisting language="xml">../API/bpm/process?p=0&amp;c=100&amp;o=version%20DESC&amp;f=name=Leave%20Request</programlisting></para>
<para><programlisting language="xml">../API/bpm/process?p=0&amp;c=100&amp;o=version%20DESC&amp;f=name=LeaveRequest</programlisting></para>
<para>Be careful when you copy/paste the URL that there is no whitespace left.</para>
</listitem>
<listitem>
<para><emphasis role="bold">Add 2 widgets in the form container.</emphasis></para>
<para>One date widget with the options: Width: 6. Value: formInput.requestInput.leaveStart. Label: Leave start</para>
<para>One date widget with the options: Width: 6. Value: formInput.requestInput.leaveStart. Label: Leave start date</para>
<para>One input widget with the options: Width: 6. Value: formInput.requestInput.dayCount. Label: Number of days</para>
</listitem>
<listitem>
<para><emphasis role="bold">Add a submit button in the form container.</emphasis></para>
<para>Drag the button widget from the palette and place it in the form container below the two widgets.</para>
<para>Enter "Create a new request" in the field label.</para>
<para>Enter "Create a new request" in the field Label.</para>
<para>Select POST in the Action drop-down list.</para>
<para>Click on "fx" to switch the "Data sent on click" field mode and then enter "formInput".</para>
<para>In the field URL to call, enter:</para>
<para><programlisting language="xml">../API/bpm/process/{{processDefinitionInfo[0].id}}/instantiation</programlisting></para>
<para>In the field Target URL Success, enter:</para>
<para><programlisting language="xml">/bonita/apps/leaveRequest</programlisting></para>
<para><programlisting language="xml">/bonita/apps/leave-request</programlisting></para>
<para>Save the page. The page should look like that:</para>
<para>
<mediaobject>
Expand Down
13 changes: 6 additions & 7 deletions exercices/source/en/chapters/setup.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter xml:lang="en" xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Environment setup</title>
<chapter xml:lang="en" xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Environment setup</title>

<section>
<para>This chapter explain how to setup your development environment in order to be able to do the exercises described in the next chapters.</para>
Expand All @@ -16,15 +15,15 @@

<section>
<title>Install Bonita Studio</title>
<para>Go to the <ulink url="http://www.bonitasoft.com/download">download section</ulink> of Bonitasoft website, click on "Customize your download" and click on the "Download" button next to "Bonita All in one" to get the <emphasis role="bold">zip</emphasis> package of Bonita Studio.</para>
<para>Unzip the Studio to the folder of your choice. Preferably choose a target folder with a path that is short and that don't include any space such as <code>C:\BonitaStudioComunity-x.y.z</code>.</para>
<para>Go to the <ulink url="https://www.bonitasoft.com/downloads">download section</ulink> of Bonitasoft website, click on "Customize your download" and click on the "Download" button next to "Bonita Studio zip package" to get the <emphasis role="bold">zip</emphasis> package of Bonita Studio.</para>
<para>Unzip the Studio to the folder of your choice. Preferably choose a target folder with a path that is short and that doesn't include any space such as <code>C:\BonitaStudioComunity-x.y.z</code>.</para>
</section>

<section>
<title>Start Bonita Studio</title>
<para>Open the Studio folder and use the appropriate runtime to start it:</para>
<itemizedlist mark='bullet'>
<listitem><para>Windows 64 bit: BonitaStudioCommunity64.exe</para></listitem>
<listitem><para>Windows 64 bit: BonitaStudioCommunity64.exe</para></listitem>
<listitem><para>Windows 32 bit: BonitaStudioCommunity.exe</para></listitem>
<listitem><para>macOS: BonitaStudioCommunity.app</para></listitem>
<listitem><para>Linux 64 bit: BonitaStudioCommunity64-linux</para></listitem>
Expand All @@ -37,7 +36,7 @@
<para>We recommend to use Chrome or Firefox for development. In order to test which web browser your computer is currently using click on the "Portal" button in Studio tool bar. It should open the Bonita Portal with your default web browser.</para>
<para>You can configure Bonita Studio to use an other browser when opening web user interfaces:</para>
<itemizedlist mark='bullet'>
<listitem><para>In the Studio click on "Preferences" button.</para></listitem>
<listitem><para>In the Studio click on "Preferences" (gear) button.</para></listitem>
<listitem><para>In the "Web" section click on "Browser".</para></listitem>
<listitem><para>Click on "New..." button.</para></listitem>
<listitem><para>Type a name and use the "Browse..." button to select the web browser runtime (e.g. C:\Program Files (x86)\Google\Application\chrome.exe for Chrome on Windows).</para></listitem>
Expand Down
2 changes: 1 addition & 1 deletion exercices/source/en/docbook.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>Bonita Camp</title>
<subtitle>Exercises</subtitle>
<copyright>
<year>2017</year>
<year>2018</year>
<holder>Bonitasoft</holder>
</copyright>
</info>
Expand Down
Binary file modified exercices/source/en/resources/screenshots/ex1_01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified exercices/source/en/resources/screenshots/ex2_08.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified exercices/source/en/resources/screenshots/ex3_05.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified exercices/source/en/resources/screenshots/ex6_01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified exercices/source/en/resources/screenshots/ex6_03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified exercices/source/en/resources/screenshots/ex6_07.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified exercices/source/en/resources/screenshots/ex6_10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 6 additions & 3 deletions exercices/source/fr/chapters/ex1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<section>
<title>Instructions résumées</title>
<para>Afin de réaliser l'exercice, créer un diagramme "Diagramme demande de congés" contenant un processus "Demande de congés" en version 1.0.</para>
<para>Afin de réaliser l'exercice, créer un diagramme "DiagrammeDemandeConges" contenant un processus "DemandeConges" en version 1.0.0.</para>
<para>Le pool du processus devra contenir les éléments BPMN suivants :</para>
<itemizedlist mark='bullet'>
<listitem><para>Un événement de début "Saisir demande"</para></listitem>
Expand All @@ -32,8 +32,8 @@
<listitem><para><emphasis role="bold">Créer un nouveau diagramme de processus.</emphasis></para></listitem>
<listitem>
<para><emphasis role="bold">Spécifier le nom du diagramme et celui du processus.</emphasis></para>
<para>Cliquer sur le menu "Diagramme / Renommer..." en haut du Studio.</para>
<para>Entrer "Diagramme demande de congés" pour le nom du diagramme et "Demande de congés" pour celui du pool.</para>
<para>Cliquer sur le menu "Fichier / Renommer le diagramme..." en haut du Studio.</para>
<para>Entrer "DiagrammeDemandeConges" pour le nom du diagramme et "DemandeConges" pour celui du pool et "1.0.0" pour la version du diagramme et du pool.</para>
<para>
<mediaobject>
<imageobject>
Expand Down Expand Up @@ -96,6 +96,8 @@
<listitem><para><emphasis role="bold">Ajouter un événement de terminaison "Fin - Demande refusée" à la suite de la tâche automatique "Notifier refus"</emphasis></para></listitem>
<listitem>
<para><emphasis role="bold">Nommer les 2 transitions entre la porte logique et les étapes automatiques</emphasis></para>
<para>Sélectionner la transition.</para>
<para>Naviguer dans l'onglet "Général / Général" puis entrer le nom.</para>
<para>La transition menant à l'étape "Notifier approbation" se nommera "Oui" et l'autre "Non".</para>
</listitem>
<listitem>
Expand Down Expand Up @@ -135,6 +137,7 @@
</listitem>
<listitem>
<para><emphasis role="bold">Exécuter le processus pour le tester.</emphasis></para>
<para>Selectionner le pool du processus.</para>
<para>Cliquer sur le bouton <guiicon><inlinegraphic fileref="resources/ex1_08.png"/></guiicon> de la barre de menu supérieur du Studio.</para>
<para>Votre navigateur devrait s'ouvrir et présenter un formulaire d'instanciation automatiquement généré. Soumettre le formulaire.</para>
<para>Vous devriez être redirigé vers la boîte de réception de tâches du Portail Bonita.
Expand Down
Loading

0 comments on commit d366d87

Please sign in to comment.