Want to create interactive content? It’s easy in Genially!

Get started free

Copie - MODULE 8 : TÂCHES

Estelle Argaud

Created on September 22, 2025

Start designing with a free template

Discover more than 1500 professional designs like these:

Transcript

Tâches

Module
Start

Tasks

Intro pour expliquer les formulaires

GIF

Previous
Next

01

Contracts

Next
Previous

Contracts in Bonita

In Bonita, a contract can be defined as an agreement between the Controller (process logic) and the View (user interface).It is defined at the pool level to enable instantiation, and at the human task level to allow execution.The contract specifies the data expected from the UI by the process.AJOUTER INFO pour rendre ça très clair

GIF OU ON CIQUE SUR POOL ET VA SUR ONGLET EXECUTION PUIS CONTRACT

Previous
Next

Purpose

The Contract Adds Value to Form Creation:

  • Provides real value when building forms in the UI Designer
  • Represents validation constraints for data coming from form inputs
  • Therefore, forms and direct API calls must comply with the contract

GIF POUR MONTRER CA DANS BONITA + FORMULAIRE FINAL pour montrer le résultat?

Previous
Next

Constraints on Contract Inputs

GIF OU ON CLIQUE SUR LE CONSTRAINTS TAB

Constraints are expressions that verify the validity of the value provided for each input.They are characterized by:

  • Name
  • Content
  • Technical error message
  • Description

Previous
Next

FAIRE GIF AVEC LE BONITA STUDIO + créer fenêtres avec infos

Create a Contract from Business Data

To create a contract from Business Data, follow these 3 steps. Click on them for more information.

Use these variables to create contract inputs

Create the Business Data Model

Define business variables in the processes

Previous
Next

Either:

Or:

At process instantiation

At human task execution

The script for initializing business variables with contract data is generated automatically.

The script for updating business variables with contract data is automatically generated in the operations.

GIF dans bonita studio

GIF dans bonita studio

Configure a contract with constraints

Donner un réel exemple en une video ou en faire 3 et les mettre dans les images au-dessus.

In this video, ...

Previous
Next

Exercise

It's Your Time to Shine!

Start
Previous

Exercise

HINT 2

HINT 1

Context

...

Prompt

Correction

Correction

...

Employee

Request submission

Approval of the request

Leave Request

Manager

Final verification

HR

End

Previous
Next

02

Execution Order

Next
Previous

2 types de formulaire ? à différents niveaux

... mettre en comparaison les deux types?

FORMULAIRES D'EXÉCUTION DE TÂCHESHUMAINES

FORMULAIRES D'INSTANCIATION DE PROCESSUS

Previous
Next

Human Task Execution Forms

Execution forms are interfaces used to enter or display information required during the execution of a task in a process. They are typically associated with human tasks, except for manual tasks (e.g.: document review). ATTENTION ON DIT DANS BASES OF BPMN QUE TACHE HUMAINE = TACHE HUMAINE They are created in the UI Designer, UI Builder or another front-end framework.

Previous
Next

Process Instantiation Forms

Process Instantiation Forms must also be associated at the pool level.They are displayed before the actual start of the instance: their validation by the contract starts the instance.

GIF

Note : They are unnecessary in cases of automatic process start (using call activity tasks).

Previous
Next

Tasks

Now, let's refocus on the task of the process. The manual/human task can have several states:

READY_STATE

EXECUTING_STATE

COMPLETED_STATE

FAILED_STATE

Previous
Next

Video explicative du schema pour montrer tous les cas de figure et que ce soit plus facile à comprendre? Dans tous les cas, refaire le schema pour qu'il respecte la charte graphique.

Previous
Next
Previous
Next

Human Task: Instanciation

Unstable

Stable

INITIALIZING_STATE

Flow

Initializing Data & Boundary Events

READY_STATE

onEnter connectors execution

User filters execution

Input expression evaluation

Output expression evaluation

Previous
Next

Human Task: Execution

Stable

Stable

Unstable

Form submitted*

EXECUTING_STATE

Flow

COMPLETED_STATE

READY_STATE

onFinish connectors execution

Operations

Contract

loggedUserId available here

Input expression evaluation

Output expression evaluation

Previous
Next

Vous avez terminé ce module !

Merci !

Quiz
Précédent

Pour plus d'informations, veuillez consulter notre documentation.

Either:

Or:

At process instantiation The script for initializing business variables with contract data is generated automatically.

At human task execution The script for updating business variables with contract data is automatically generated in the operations.