Criterion
![criterion 1](../_images/case/criterion-1.png)
Figure 1. Stage with Entry and Exit Criterions
![criterion 2](../_images/case/criterion-2.png)
Figure 2. Stage with Entry Criterion Linked to a File Item
![criterion 3](../_images/case/criterion-3.png)
Figure 3. Milestone with an Entry Criterion
![criterion 4](../_images/case/criterion-4.png)
Figure 4. Task with an Entry Criterion
A criterion is a shape to set entry or exit condition to a case, a stage, a task, or a milestone.
As attribute, an if part is available for both entry and exit criterion.
![criterion 5](../_images/case/criterion-5.png)
Figure 5. Criterion if attribute modal setting
As seen above, an if part is not always mandatory but if set to be so, a condition can be specified through a FEEL expression. That expression can use available context variables.
A criterion is linked to a plan item or a file item through a connector link.